KAMEZAWA Hiroyuki addb9efebb memcg: optimize per-cpu statistics
Some obvious optimization to memcg.

I found mem_cgroup_charge_statistics() is a little big (in object) and
does unnecessary address calclation.  This patch is for optimization to
reduce the size of this function.

And res_counter_charge() is 'likely' to succeed.

Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-20 08:52:39 -07:00
..
2008-10-20 08:52:32 -07:00
2008-10-20 08:50:26 -07:00
2008-07-28 16:30:21 -07:00
2008-10-20 08:52:38 -07:00
2008-10-20 08:50:26 -07:00
2007-10-20 01:27:18 +02:00
2008-04-28 08:58:18 -07:00
2008-10-20 08:52:32 -07:00
2008-07-28 16:30:21 -07:00
2008-07-28 16:30:21 -07:00
2007-05-21 09:18:19 -07:00
2008-10-20 08:52:30 -07:00
2008-02-05 09:44:19 -08:00
2008-06-12 18:05:41 -07:00
2007-10-20 01:27:18 +02:00
2008-10-20 08:52:38 -07:00
2008-10-20 08:50:26 -07:00
2008-07-29 23:44:26 +03:00
2008-10-09 12:18:27 -07:00
2008-07-04 10:40:04 -07:00
2008-10-20 08:52:32 -07:00
2008-10-02 15:53:13 -07:00
2008-10-20 08:52:32 -07:00
2008-10-20 08:52:32 -07:00