Re: [PATCH v2 00/12] uprobes: add batched register/unregister APIs and per-CPU RW semaphore
From: Peter Zijlstra <peterz@infradead.org>
Date: 2024-07-02 10:23:57
Also in:
bpf
From: Peter Zijlstra <peterz@infradead.org>
Date: 2024-07-02 10:23:57
Also in:
bpf
On Mon, Jul 01, 2024 at 03:39:23PM -0700, Andrii Nakryiko wrote:
This patch set, ultimately, switches global uprobes_treelock from RW spinlock to per-CPU RW semaphore, which has better performance and scales better under contention and multiple parallel threads triggering lots of uprobes.
Why not RCU + normal lock thing?