From da22bdf38be2f2ba557d3031108614ebbba265e1 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 21 Mar 2024 07:53:07 -0600 Subject: 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 --- io_uring/poll.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'io_uring/poll.h') 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, -- cgit v1.2.3-58-ga151