diff options
| author | Pavel Begunkov <[email protected]> | 2022-11-02 15:18:19 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-11-16 09:44:26 -0700 |
| commit | 6e4068a11413b96687a03c39814539e202de294b (patch) | |
| tree | 2ed2ab73ba16ab3aa190dd3128bf83f35f2a3d34 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 5626196a5ae0937368b35c3625c428a2125b0f44 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/636aed30be8c35d78f45e244998bc6209283cccc.1667384020.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions