On Wed, 23 Nov 2011 16:42:26 +0100 Johannes Weiner <hannes@xxxxxxxxxxx> wrote: > From: Johannes Weiner <jweiner@xxxxxxxxxx> > > 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@xxxxxxxxxx> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> I'm not sure why Ying Han used this style. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>