]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: enable shmem/memfd memory registration
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 9 Jun 2021 14:26:54 +0000 (15:26 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 14 Jun 2021 14:23:05 +0000 (08:23 -0600)
commitb3d8045e4a69e6a240676b1ac706a0b6b4596f89
tree385e16833c80c385e4a00d6c5e02937b24b83e60
parent153b5bb746dc93f742b1b0a178ddf1ef64108248
io_uring: enable shmem/memfd memory registration

Relax buffer registration restictions, which filters out file backed
memory, and allow shmem/memfd as they have normal anonymous pages
underneath.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c