Skip to content

Commit 5993000

Browse files
isilenceaxboe
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/eb78a0a5f2fa5941f8e845cdae5fb399bf7ba0be.1660566179.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
1 parent 86dc8f2 commit 5993000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io_uring/notif.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include "rsrc.h"
99

1010
#define IO_NOTIF_SPLICE_BATCH 32
11-
#define IORING_MAX_NOTIF_SLOTS (1U << 10)
11+
#define IORING_MAX_NOTIF_SLOTS (1U << 15)
1212

1313
struct io_notif_data {
1414
struct file *file;

0 commit comments

Comments
 (0)