]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: move apoll->events cache
authorJens Axboe <axboe@kernel.dk>
Mon, 11 Apr 2022 23:03:26 +0000 (17:03 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 11 Apr 2022 23:06:13 +0000 (17:06 -0600)
commitf3173ed1485a523f0478d06c4ac04eefbeeb27e6
tree168ef66b171945071461f5319c7db7f105c96e1b
parentf570508435854f63323167d0ed1858f9d8b29790
io_uring: move apoll->events cache

In preparation for fixing a regression with pulling in an extra cacheline
for IO that doesn't usually touch the last cacheline of the io_kiocb,
move the cached location of apoll->events to space shared with some other
completion data. Like cflags, this isn't used until after the request
has been completed, so we can piggy back on top of comp_list.

Fixes: 3eb58ddb5129 ("io_uring: cache req->apoll->events in req->cflags")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c