diff options
| author | Pavel Begunkov <[email protected]> | 2025-04-05 10:17:49 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-04-07 13:36:52 +0000 |
| commit | 9b58440a5b2fe78102ce1e9e03946645558d0f55 (patch) | |
| tree | af860850b3156c9aee0913165bbb3a8e8d2f8663 /rust/helpers/helpers.c | |
| parent | io_uring: don't post tag CQEs on file/buffer registration failure (diff) | |
| download | kernel-9b58440a5b2fe78102ce1e9e03946645558d0f55.tar.gz kernel-9b58440a5b2fe78102ce1e9e03946645558d0f55.zip | |
io_uring/zcrx: put refill data into separate cache line
Refill queue lock and other bits are only used from the allocation path
on the rx softirq side, but it shares the cache line with other fields
like ctx that are used also in the "syscall" path, which causes cache
bouncing when softirq runs on a different CPU.
Separate them into different cache lines. The first one now contains
constant fields used by both contextx, followed by a line responsible
for refill queue data.
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/6d1f598e27d623c07fc49d6baee13089a9b1216c.1743848241.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
