Re: [PATCH] powerpc/qspinlock: Add spinlock contention tracepoint

2025-07-30 Thread samir
On 2025-07-25 13:44, Nysal Jan K.A. wrote: Add a lock contention tracepoint in the queued spinlock slowpath. Also add the __lockfunc annotation so that in_lock_functions() works as expected. Signed-off-by: Nysal Jan K.A. --- arch/powerpc/lib/qspinlock.c | 13 - 1 file changed, 8 in

Re: [PATCH] powerpc/qspinlock: Add spinlock contention tracepoint

2025-07-30 Thread Nysal Jan K.A.
On Wed, Jul 30, 2025 at 08:46:28AM +0200, Christophe Leroy wrote: > > > Le 25/07/2025 à 10:14, Nysal Jan K.A. a écrit : > > @@ -718,16 +720,17 @@ void queued_spin_lock_slowpath(struct qspinlock *lock) > > if (IS_ENABLED(CONFIG_PARAVIRT_SPINLOCKS) && is_shared_processor()) { > > if

Re: [PATCH] powerpc/qspinlock: Add spinlock contention tracepoint

2025-07-30 Thread Christophe Leroy
Le 25/07/2025 à 10:14, Nysal Jan K.A. a écrit : Add a lock contention tracepoint in the queued spinlock slowpath. Also add the __lockfunc annotation so that in_lock_functions() works as expected. Signed-off-by: Nysal Jan K.A. --- arch/powerpc/lib/qspinlock.c | 13 - 1 file cha

[PATCH] powerpc/qspinlock: Add spinlock contention tracepoint

2025-07-25 Thread Nysal Jan K.A.
Add a lock contention tracepoint in the queued spinlock slowpath. Also add the __lockfunc annotation so that in_lock_functions() works as expected. Signed-off-by: Nysal Jan K.A. --- arch/powerpc/lib/qspinlock.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/arc