aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMinchan Kim <[email protected]>2010-08-09 17:18:59 -0700
committerLinus Torvalds <[email protected]>2010-08-09 20:44:57 -0700
commit31f961a89bd1cb9baaf32af4bd8b571ace3447b1 (patch)
treeadd1380e479ff92ad92da090e606857162b88e66 /tools/perf/scripts/python
parent0aad4b3124850e85fe54e610802f0917ce46a1ae (diff)
mm: use for_each_online_cpu() in vmstat
The sum_vm_events passes cpumask for for_each_cpu(). But it's useless since we have for_each_online_cpu. Althougth it's tirival overhead, it's not good about coding consistency. Let's use for_each_online_cpu instead of for_each_cpu with cpumask argument. Signed-off-by: Minchan Kim <[email protected]> Reviewed-by: KAMEZAWA Hiroyuki <[email protected]> Acked-by: Christoph Lameter <[email protected]> Reviewed-by: KOSAKI Motohiro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions