locking: Add __lockfunc to slow path functions
authorNamhyung Kim <namhyung@kernel.org>
Wed, 10 Aug 2022 22:03:46 +0000 (15:03 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 19 Aug 2022 17:47:51 +0000 (19:47 +0200)
commit501f7f69bca195da266de83eb2c26c30813fba97
tree5ad7c6a8ed7060076e1713c9ad35b2d862906665
parent9aeaf5bc4e30ec968ae660b865ed491a28daf500
locking: Add __lockfunc to slow path functions

So that we can skip the functions in the perf lock contention and other
places like /proc/PID/wchan.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Waiman Long <longman@redhat.com>
Link: https://lore.kernel.org/r/20220810220346.1919485-1-namhyung@kernel.org
arch/x86/include/asm/qspinlock_paravirt.h
kernel/locking/qrwlock.c
kernel/locking/qspinlock.c
kernel/locking/qspinlock_paravirt.h