Re: [PATCH v2 04/11] perf/uprobe: RCU-ify find_uprobe()

2024-07-11 Thread Google
On Thu, 11 Jul 2024 13:02:39 +0200 Peter Zijlstra wrote: > With handle_swbp() triggering concurrently on (all) CPUs, tree_lock > becomes a bottleneck. Avoid treelock by doing RCU lookups of the > uprobe. > Looks good to me. Acked-by: Masami Hiramatsu (Google) Thanks, > Signed-off-by: Peter

[PATCH v2 04/11] perf/uprobe: RCU-ify find_uprobe()

2024-07-11 Thread Peter Zijlstra
With handle_swbp() triggering concurrently on (all) CPUs, tree_lock becomes a bottleneck. Avoid treelock by doing RCU lookups of the uprobe. Signed-off-by: Peter Zijlstra (Intel) --- kernel/events/uprobes.c | 49 +++- 1 file changed, 40 insertions(+)