aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmstat.c
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2010-12-14 10:28:45 -0600
committerTejun Heo <tj@kernel.org>2010-12-18 15:54:48 +0100
commit20b876918c065818b3574a426d418f68b4f8ad19 (patch)
tree1e31b61ca0c28f528321ff13ed6315475dbf6992 /mm/vmstat.c
parentMerge branch 'this_cpu_ops' into for-2.6.38 (diff)
downloadlinux-dev-20b876918c065818b3574a426d418f68b4f8ad19.tar.xz
linux-dev-20b876918c065818b3574a426d418f68b4f8ad19.zip
irq_work: Use per cpu atomics instead of regular atomics
The irq work queue is a per cpu object and it is sufficient for synchronization if per cpu atomics are used. Doing so simplifies the code and reduces the overhead of the code. Before: christoph@linux-2.6$ size kernel/irq_work.o text data bss dec hex filename 451 8 1 460 1cc kernel/irq_work.o After: christoph@linux-2.6$ size kernel/irq_work.o text data bss dec hex filename 438 8 1 447 1bf kernel/irq_work.o Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Christoph Lameter <cl@linux.com>
Diffstat (limited to 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions