]> git.ipfire.org Git - thirdparty/linux.git/commit
io_uring/rsrc: raise registered buffer 1GB limit
authorJens Axboe <axboe@kernel.dk>
Mon, 4 May 2026 11:42:51 +0000 (05:42 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 May 2026 14:12:29 +0000 (08:12 -0600)
commitb4e41050b212ca33c82fb0598a7b323d5b18f1bb
tree024f03fec13856f8ba140535d863d00a1a118d9d
parentca76b56a2a2acf9875e5cad68612085f25b463bb
io_uring/rsrc: raise registered buffer 1GB limit

There's no real reason to have a limit, as the memory is accounted by
the lockmem limits anyway, if any exist. io_pin_pages() will still
restrict the maximum allowed limit per buffer, which is INT_MAX
number of pages. Cap it a bit lower than that, at 1TB for a 64-bit
system. Surely that should be enough for everyone. For now.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/rsrc.c