summaryrefslogtreecommitdiffstats
path: root/io_uring/filetable.h
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-11-02 16:18:19 +0100
committerJens Axboe <axboe@kernel.dk>2022-11-16 17:44:26 +0100
commit6e4068a11413b96687a03c39814539e202de294b (patch)
tree2ed2ab73ba16ab3aa190dd3128bf83f35f2a3d34 /io_uring/filetable.h
parentMerge branch 'md-next' of https://git.kernel.org/pub/scm/linux/kernel/git/son... (diff)
downloadlinux-6e4068a11413b96687a03c39814539e202de294b.tar.xz
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 'io_uring/filetable.h')
0 files changed, 0 insertions, 0 deletions