summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHui Peng <benquike@gmail.com>2026-09-19 11:25:23 +0000
committerJens Axboe <axboe@kernel.dk>2026-09-21 10:50:04 -0600
commit50b617ba788e5c27dfc6efc90556cdcc9509028d (patch)
tree922864c0778ebc2eebea476173cb513b324f4944 /tools/perf/scripts/python/stackcollapse.py
parent47ccc3f1c615a46c25cbf7f3ae60df30b40eb2e6 (diff)
downloadlinux-next-50b617ba788e5c27dfc6efc90556cdcc9509028d.tar.gz
linux-next-50b617ba788e5c27dfc6efc90556cdcc9509028d.zip
io_uring/bpf_filter: mark source as COW when cloning filters
io_bpf_filter_clone() shares the filter table between source and destination and marks the destination as needing a copy before it can be modified, but leaves the source as is. Registering another filter on the source then modifies the shared table in place, and the change shows up in everything that cloned it. Mark the source as COW as well. Fixes: ed82f35b926b ("io_uring: allow registration of per-task restrictions") Assisted-by: LLM Signed-off-by: Hui Peng <benquike@gmail.com> Link: https://patch.msgid.link/20260919112523.3872581-1-benquike@gmail.com [axboe: edited patch and 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