diff options
author | 2024-11-21 19:59:21 -0800 | |
---|---|---|
committer | 2024-12-02 12:01:38 +0100 | |
commit | 83e3dc9a5d4d7402adb24090a77327245d593129 (patch) | |
tree | e2d839ade7aff2c43475ed152492dca7be397562 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | mm: introduce mmap_lock_speculate_{try_begin|retry} (diff) | |
download | wireguard-linux-83e3dc9a5d4d7402adb24090a77327245d593129.tar.xz wireguard-linux-83e3dc9a5d4d7402adb24090a77327245d593129.zip |
uprobes: simplify find_active_uprobe_rcu() VMA checks
At the point where find_active_uprobe_rcu() is used we know that VMA in
question has triggered software breakpoint, so we don't need to validate
vma->vm_flags. Keep only vma->vm_file NULL check.
Suggested-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Link: https://lkml.kernel.org/r/20241122035922.3321100-2-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions