diff options
author | Dimitri Sivanich <sivanich@sgi.com> | 2012-06-29 23:17:29 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-09-23 16:41:53 +0200 |
commit | b402b73b3afe3614bc0e921ebe18013ea103115a (patch) | |
tree | d5f941ae2bbae05e496ff1b8415bffc30b6a80b8 /kernel/rcutree.c | |
parent | rcu: Provide OOM handler to motivate lazy RCU callbacks (diff) | |
download | linux-b402b73b3afe3614bc0e921ebe18013ea103115a.tar.xz linux-b402b73b3afe3614bc0e921ebe18013ea103115a.zip |
rcu: Segregate rcu_state fields to improve cache locality
The fields in the rcu_state structure that are protected by the
root rcu_node structure's ->lock can share a cache line with the
fields protected by ->onofflock. This can result in excessive
memory contention on large systems, so this commit applies
____cacheline_internodealigned_in_smp to the ->onofflock field in
order to segregate them.
Signed-off-by: Dimitri Sivanich <sivanich@sgi.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Dimitri Sivanich <sivanich@sgi.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/rcutree.c')
0 files changed, 0 insertions, 0 deletions