Skip to content

Commit

Permalink
io_uring/notif: raise limit on notification slots
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pavel Begunkov authored and Jens Axboe committed Aug 16, 2022
1 parent 86dc8f2 commit 5993000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io_uring/notif.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5993000

Please sign in to comment.