mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
io_uring: add helper to free all request caches
We have three different ones, put it in a helper for easy calling. This is in preparation for doing it outside of ring freeing as well. With that in mind, also ensure that we do the proper locking for safe calling from a context where the ring it still live. Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
68e68ee6e3
commit
9a4fdbd8ee
1 changed files with 19 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue