aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorDave Marchevsky <[email protected]>2023-04-24 20:43:21 +0000
committerAlexei Starovoitov <[email protected]>2023-04-24 21:02:11 +0000
commit7deca5eae83389ca40ac1b1bde96e4af17cca84f (patch)
tree3177280c48b4814b2acc4f88eeccb40770e3c296 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentselftests/bpf: verifier/prevent_map_lookup converted to inline assembly (diff)
downloadkernel-7deca5eae83389ca40ac1b1bde96e4af17cca84f.tar.gz
kernel-7deca5eae83389ca40ac1b1bde96e4af17cca84f.zip
bpf: Disable bpf_refcount_acquire kfunc calls until race conditions are fixed
As reported by Kumar in [0], the shared ownership implementation for BPF programs has some race conditions which need to be addressed before it can safely be used. This patch does so in a minimal way instead of ripping out shared ownership entirely, as proper fixes for the issues raised will follow ASAP, at which point this patch's commit can be reverted to re-enable shared ownership. The patch removes the ability to call bpf_refcount_acquire_impl from BPF programs. Programs can only bump refcount and obtain a new owning reference using this kfunc, so removing the ability to call it effectively disables shared ownership. Instead of changing success / failure expectations for bpf_refcount-related selftests, this patch just disables them from running for now. [0]: https://lore.kernel.org/bpf/d7hyspcow5wtjcmw4fugdgyp3fwhljwuscp3xyut5qnwivyeru@ysdq543otzv2/ Reported-by: Kumar Kartikeya Dwivedi <[email protected]> Signed-off-by: Dave Marchevsky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions