diff options
author | 2009-10-03 19:48:23 +0900 | |
---|---|---|
committer | 2009-10-03 19:48:23 +0900 | |
commit | 4dac3e98840f11bb2d8d52fd375150c7c1912117 (patch) | |
tree | 64a464cb4df4a5e9683da4eabba0e7b399728023 /lib/spinlock_debug.c | |
parent | this_cpu: Use this_cpu_ptr in crypto subsystem (diff) | |
download | linux-rng-4dac3e98840f11bb2d8d52fd375150c7c1912117.tar.xz linux-rng-4dac3e98840f11bb2d8d52fd375150c7c1912117.zip |
this_cpu: Use this_cpu ops for VM statistics
Using per cpu atomics for the vm statistics reduces their overhead.
And in the case of x86 we are guaranteed that they will never race even
in the lax form used for vm statistics.
Acked-by: Tejun Heo <tj@kernel.org>
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