summaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2013-09-11 14:21:32 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-11 15:57:31 -0700
commitfbc2edb05354480a88aa39db8a6acb5782fa1a1b (patch)
treeb3d10c8b1310e264a9d9d4b9a8ea3416b4d12c0d /mm/vmalloc.c
parent4edb0748b23887140578d68f5f4e6e2de337a481 (diff)
downloadop-kernel-dev-fbc2edb05354480a88aa39db8a6acb5782fa1a1b.zip
op-kernel-dev-fbc2edb05354480a88aa39db8a6acb5782fa1a1b.tar.gz
vmstat: use this_cpu() to avoid irqon/off sequence in refresh_cpu_vm_stats
Disabling interrupts repeatedly can be avoided in the inner loop if we use a this_cpu operation. Signed-off-by: Christoph Lameter <cl@linux.com> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> CC: Tejun Heo <tj@kernel.org> Cc: Joonsoo Kim <js1304@gmail.com> Cc: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud