diff options
author | Christoph Lameter | 2010-12-06 18:40:02 +0100 |
---|---|---|
committer | Tejun Heo | 2010-12-17 15:18:04 +0100 |
commit | 908ee0f122bf2a67414854af5b90c6621d186a71 (patch) | |
tree | 5394b0b65dada76fed551d44ca0561fe5b7ac839 /include/linux/mii.h | |
parent | Merge branch 'this_cpu_ops' into for-2.6.38 (diff) | |
download | kernel-qcow2-linux-908ee0f122bf2a67414854af5b90c6621d186a71.tar.gz kernel-qcow2-linux-908ee0f122bf2a67414854af5b90c6621d186a71.tar.xz kernel-qcow2-linux-908ee0f122bf2a67414854af5b90c6621d186a71.zip |
vmstat: Use this_cpu_inc_return for vm statistics
this_cpu_inc_return() saves us a memory access there. Code
size does not change.
V1->V2:
- Fixed the location of the __per_cpu pointer attributes
- Sparse checked
V2->V3:
- Move fixes to __percpu attribute usage to earlier patch
Reviewed-by: Pekka Enberg <penberg@kernel.org>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/mii.h')
0 files changed, 0 insertions, 0 deletions