[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20111124090015.18edb1dc.kamezawa.hiroyu@jp.fujitsu.com>
Date: Thu, 24 Nov 2011 09:00:15 +0900
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To: Johannes Weiner <hannes@...xchg.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Michal Hocko <mhocko@...e.cz>,
Balbir Singh <bsingharora@...il.com>, cgroups@...r.kernel.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [patch 3/8] mm: memcg: clean up fault accounting
On Wed, 23 Nov 2011 16:42:26 +0100
Johannes Weiner <hannes@...xchg.org> wrote:
> From: Johannes Weiner <jweiner@...hat.com>
>
> The fault accounting functions have a single, memcg-internal user, so
> they don't need to be global. In fact, their one-line bodies can be
> directly folded into the caller. And since faults happen one at a
> time, use this_cpu_inc() directly instead of this_cpu_add(foo, 1).
>
> Signed-off-by: Johannes Weiner <jweiner@...hat.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
I'm not sure why Ying Han used this style.
--
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