From: Hugh Dickins Date: Thu, 7 Feb 2008 08:14:19 +0000 (-0800) Subject: memcgroup: tidy up mem_cgroup_charge_common X-Git-Tag: v2.6.25-rc1~451 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3be91277e754c7db04eae145ba622b3a3e3ad96d;p=pandora-kernel.git memcgroup: tidy up mem_cgroup_charge_common Tidy up mem_cgroup_charge_common before extending it. Adjust some comments, but mainly clean up its loop: I've an aversion to loops full of continues, then a break or a goto at the bottom. And the is_atomic test should be on the __GFP_WAIT bit, not GFP_ATOMIC bits. Signed-off-by: Hugh Dickins Cc: Balbir Singh Cc: KAMEZAWA Hiroyuki Cc: Mel Gorman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed