[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100613162540.6157.A69D9226@jp.fujitsu.com>
Date: Sun, 13 Jun 2010 20:24:49 +0900 (JST)
From: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To: Minchan Kim <minchan.kim@...il.com>
Cc: kosaki.motohiro@...fujitsu.com,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Christoph Lameter <cl@...ux.com>
Subject: Re: [mmotm] Cleanup: use for_each_online_cpu in vmstat
> 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@...fujitsu.com>
> Cc: Christoph Lameter <cl@...ux.com>
> Signed-off-by: Minchan Kim <minchan.kim@...il.com>
Thank you.
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists