summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHui Peng <benquike@gmail.com>2026-09-19 20:35:16 +0000
committerJens Axboe <axboe@kernel.dk>2026-09-21 10:50:07 -0600
commit2107751744287996a9bbcf40b5055a5b7fe30b5c (patch)
tree9b65ae1ccd0903a7b100a3b5f720350298218e20 /tools/perf/scripts/python/stackcollapse.py
parent50b617ba788e5c27dfc6efc90556cdcc9509028d (diff)
downloadlinux-next-2107751744287996a9bbcf40b5055a5b7fe30b5c.tar.gz
linux-next-2107751744287996a9bbcf40b5055a5b7fe30b5c.zip
io_uring: only post the dummy skip CQE on CQE_MIXED rings
io_cqe_cache_refill() posts a dummy skip CQE when a 32b CQE would straddle the end of the ring, so the real one can start at offset 0. That only makes sense on CQE_MIXED rings, where slots are 16b and a 32b CQE needs two of them back to back. On a CQE32 ring every slot is already 32b, but io_fill_cqe_aux32() still passes cqe32 == true, and the dummy then gets written at cqes[off] rather than cqes[off << 1], inside another CQE. Limit the dummy to CQE_MIXED rings. Fixes: e26dca67fde1 ("io_uring: add support for IORING_SETUP_CQE_MIXED") Assisted-by: LLM Signed-off-by: Hui Peng <benquike@gmail.com> Link: https://patch.msgid.link/20260919203516.2581409-1-benquike@gmail.com [axboe: split from Hui's original patch, edited commit message] Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions