diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-03-21 07:53:07 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-04-15 08:10:25 -0600 |
commit | da22bdf38be2f2ba557d3031108614ebbba265e1 (patch) | |
tree | 04ffcdfb6445283e0703be867be4f901c8960f22 /io_uring/poll.h | |
parent | 414d0f45c316221acbf066658afdbae5b354a5cc (diff) |
io_uring/poll: shrink alloc cache size to 32
This should be plenty, rather than the default of 128, and matches what
we have on the rsrc and futex side as well.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/poll.h')
-rw-r--r-- | io_uring/poll.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/io_uring/poll.h b/io_uring/poll.h index 5c240f11069a..b0e3745f5a29 100644 --- a/io_uring/poll.h +++ b/io_uring/poll.h @@ -1,5 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 +#define IO_POLL_ALLOC_CACHE_MAX 32 + enum { IO_APOLL_OK, IO_APOLL_ABORTED, |