diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-11-02 18:18:19 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-11-16 19:44:26 +0300 |
commit | 6e4068a11413b96687a03c39814539e202de294b (patch) | |
tree | 2ed2ab73ba16ab3aa190dd3128bf83f35f2a3d34 /tools/perf/scripts/python/syscall-counts.py | |
parent | 5626196a5ae0937368b35c3625c428a2125b0f44 (diff) | |
download | linux-6e4068a11413b96687a03c39814539e202de294b.tar.xz |
mempool: introduce mempool_is_saturated
Introduce a helper mempool_is_saturated(), which tells if the mempool is
under-filled or not. We need it to figure out whether it should be
freed right into the mempool or could be cached with top level caches.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/636aed30be8c35d78f45e244998bc6209283cccc.1667384020.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions