]> git.baikalelectronics.ru Git - kernel.git/commitdiff
io_uring/notif: raise limit on notification slots
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 15 Aug 2022 12:42:02 +0000 (13:42 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 16 Aug 2022 03:34:00 +0000 (21:34 -0600)
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>
io_uring/notif.h

index 65f0b42f255504f2b9a4f8de70116f9f48c6690a..80f6445e0c2ba573d0db9287db49ccf87159cefc 100644 (file)
@@ -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;