summaryrefslogtreecommitdiff
path: root/io_uring
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-08-15 13:42:02 +0100
committerJens Axboe <axboe@kernel.dk>2022-08-15 21:34:00 -0600
commit5993000dc6b31b927403cee65fbc5f9f070fa3e4 (patch)
tree7671d1c7a11b73d8b261320826f28274a417dd58 /io_uring
parent86dc8f23bb1b68262ca5db890ec7177b2d074640 (diff)
downloadlwn-5993000dc6b31b927403cee65fbc5f9f070fa3e4.tar.gz
lwn-5993000dc6b31b927403cee65fbc5f9f070fa3e4.zip
io_uring/notif: raise limit on notification slots
1024 notification slots is rather an arbitrary value, raise it up, everything is accounted to memcg. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/eb78a0a5f2fa5941f8e845cdae5fb399bf7ba0be.1660566179.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring')
-rw-r--r--io_uring/notif.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/notif.h b/io_uring/notif.h
index 65f0b42f2555..80f6445e0c2b 100644
--- a/io_uring/notif.h
+++ b/io_uring/notif.h
@@ -8,7 +8,7 @@
#include "rsrc.h"
#define IO_NOTIF_SPLICE_BATCH 32
-#define IORING_MAX_NOTIF_SLOTS (1U << 10)
+#define IORING_MAX_NOTIF_SLOTS (1U << 15)
struct io_notif_data {
struct file *file;