io_uring: move submitter_task out of cold cacheline
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 9 Jan 2023 14:46:03 +0000 (14:46 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 29 Jan 2023 22:17:40 +0000 (15:17 -0700)
commitdde40322ae20f2d6b0bcb781a9eedcfc7ca3aa73
tree498e53f3ca19bfa0514f3c391a6edcc0b305c49d
parent81594e7e7a146888f0bac4fa782b0b5d3c37fdff
io_uring: move submitter_task out of cold cacheline

->submitter_task is used somewhat more frequent now than before, i.e.
for local tw enqueue and run, let's move it from the end of ctx, which
is full of cold data, to the first cacheline with mostly constants.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/415ca91dc5ad1dec612b892e489cda98e1069542.1673274244.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring_types.h