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>
This commit is contained in:
Jens Axboe
2024-03-21 07:53:07 -06:00
parent 414d0f45c3
commit da22bdf38b
2 changed files with 3 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
#define IO_POLL_ALLOC_CACHE_MAX 32
enum {
IO_APOLL_OK,
IO_APOLL_ABORTED,