Re: [mmotm] Cleanup: use for_each_online_cpu in vmstat

From: KOSAKI Motohiro
Date: Sun Jun 13 2010 - 07:25:55 EST

> Sorry. It's not [1/2] and I used Chrisopth's old mail address.
> Resend.
> --
> 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.
> Cc: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
> Cc: Christoph Lameter <cl@xxxxxxxxx>
> Signed-off-by: Minchan Kim <>

Thank you.
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at