diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2022-11-02 15:18:19 +0000 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2022-11-16 09:44:26 -0700 |
| commit | 6e4068a11413b96687a03c39814539e202de294b (patch) | |
| tree | 2ed2ab73ba16ab3aa190dd3128bf83f35f2a3d34 /tools/perf/scripts/python/bin | |
| parent | Merge branch 'md-next' of https://git.kernel.org/pub/scm/linux/kernel/git/son... (diff) | |
| download | linux-6e4068a11413b96687a03c39814539e202de294b.tar.gz linux-6e4068a11413b96687a03c39814539e202de294b.zip | |
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/bin')
0 files changed, 0 insertions, 0 deletions
