diff options
author | 2009-10-03 19:48:23 +0900 | |
---|---|---|
committer | 2009-10-03 19:48:23 +0900 | |
commit | e800879d50c5a528d40191528557b1bdfbccbd42 (patch) | |
tree | 5cf00a68df5c0b63dcb8c84f00b0ecb48910c0fa /lib/spinlock_debug.c | |
parent | this_cpu: Use this_cpu ops for VM statistics (diff) | |
download | linux-rng-e800879d50c5a528d40191528557b1bdfbccbd42.tar.xz linux-rng-e800879d50c5a528d40191528557b1bdfbccbd42.zip |
this_cpu: Use this_cpu operations in RCU
RCU does not do dynamic allocations but it increments per cpu variables
a lot. These instructions results in a move to a register and then back
to memory. This patch will make it use the inc/dec instructions on x86
that do not need a register.
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions