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
This commit is contained in:
Namhyung Kim 2022-08-10 15:03:46 -07:00 • committed by Peter Zijlstra
commit 501f7f69bc
4 changed files with 12 additions and 11 deletions