aboutsummaryrefslogtreecommitdiff
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
authorWaiman Long <[email protected]>2018-10-18 21:45:18 -0400
committerIngo Molnar <[email protected]>2018-10-19 07:53:18 +0200
commit01a14bda11add9dcd4a59200f13834d634559935 (patch)
treec7fc12f5c710502f98bdb917d3eaf9da0943b000 /include/linux/compiler.h
parent9506a7425b094d2f1d9c877ed5a78f416669269b (diff)
locking/lockdep: Make global debug_locks* variables read-mostly
Make the frequently used lockdep global variable debug_locks read-mostly. As debug_locks_silent is sometime used together with debug_locks, it is also made read-mostly so that they can be close together. With false cacheline sharing, cacheline contention problem can happen depending on what get put into the same cacheline as debug_locks. Signed-off-by: Waiman Long <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Paul E. McKenney <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Will Deacon <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux/compiler.h')
0 files changed, 0 insertions, 0 deletions