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)
commit40dad765c045ab6dbd481cc4f00d04953e77510c
tree385e16833c80c385e4a00d6c5e02937b24b83e60
parentd0acdee296d42e700c16271d9f95085a9c897a53
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