Re: [PATCH 8/8] uprobes: switch to RCU Tasks Trace flavor for better performance

2024-08-01 Thread Paul E. McKenney
On Thu, Aug 01, 2024 at 11:35:05AM +0200, Peter Zijlstra wrote: > On Wed, Jul 31, 2024 at 02:42:56PM -0700, Andrii Nakryiko wrote: > > This patch switches uprobes SRCU usage to RCU Tasks Trace flavor, which > > is optimized for more lightweight and quick readers (at the expense of > > slower writer

Re: [PATCH 8/8] uprobes: switch to RCU Tasks Trace flavor for better performance

2024-08-01 Thread Andrii Nakryiko
On Thu, Aug 1, 2024 at 2:35 AM Peter Zijlstra wrote: > > On Wed, Jul 31, 2024 at 02:42:56PM -0700, Andrii Nakryiko wrote: > > This patch switches uprobes SRCU usage to RCU Tasks Trace flavor, which > > is optimized for more lightweight and quick readers (at the expense of > > slower writers, which

Re: [PATCH 8/8] uprobes: switch to RCU Tasks Trace flavor for better performance

2024-08-01 Thread Peter Zijlstra
On Wed, Jul 31, 2024 at 02:42:56PM -0700, Andrii Nakryiko wrote: > This patch switches uprobes SRCU usage to RCU Tasks Trace flavor, which > is optimized for more lightweight and quick readers (at the expense of > slower writers, which for uprobes is a fine tradeof) and has better > performance and

[PATCH 8/8] uprobes: switch to RCU Tasks Trace flavor for better performance

2024-07-31 Thread Andrii Nakryiko
This patch switches uprobes SRCU usage to RCU Tasks Trace flavor, which is optimized for more lightweight and quick readers (at the expense of slower writers, which for uprobes is a fine tradeof) and has better performance and scalability with number of CPUs. Similarly to baseline vs SRCU, we've b