OSDN Git Service

io_uring: io_async_buf_func() need not test page bit
authorJens Axboe <axboe@kernel.dk>
Mon, 3 Aug 2020 23:06:21 +0000 (17:06 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 3 Aug 2020 23:39:37 +0000 (17:39 -0600)
commitcbd287c09351f1d3a4b3cb9167a2616a11390d32
tree5ab23f117751c2e65a153c6fd03d91ad704bd3e7
parente4cbce4d131753eca271d9d67f58c6377f27ad21
io_uring: io_async_buf_func() need not test page bit

Since we don't do exclusive waits or wakeups, we know that the bit is
always going to be set. Kill the test. Also see commit:

2a9127fcf229 ("mm: rewrite wait_on_page_bit_common() logic")

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