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)
commit2804ecd8d3e3730b4f999cc1ff4b2441e1f4d513
tree168ef66b171945071461f5319c7db7f105c96e1b
parent6f83ab22adcb77a5824d2c274dace0d99e21319f
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: 81459350d581 ("io_uring: cache req->apoll->events in req->cflags")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c