diff options
author | 2019-05-27 10:23:26 +0200 | |
---|---|---|
committer | 2019-06-03 12:32:56 +0200 | |
commit | 24811637dbfd07c69da7e9db586d35d17e6afca3 (patch) | |
tree | ac7a759ba9a78de252373c28eef8ff5c69098bda /tools/perf/scripts/python | |
parent | locking/lockdep: Fix merging of hlocks with non-zero references (diff) | |
download | wireguard-linux-24811637dbfd07c69da7e9db586d35d17e6afca3.tar.xz wireguard-linux-24811637dbfd07c69da7e9db586d35d17e6afca3.zip |
locking/lock_events: Use raw_cpu_{add,inc}() for stats
Instead of playing silly games with CONFIG_DEBUG_PREEMPT toggling
between this_cpu_*() and __this_cpu_*() use raw_cpu_*(), which is
exactly what we want here.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tim Chen <tim.c.chen@linux.intel.com>
Cc: Waiman Long <longman@redhat.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: huang ying <huang.ying.caritas@gmail.com>
Link: https://lkml.kernel.org/r/20190527082326.GP2623@hirez.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions