From: Daisuke Nishimura Date: Wed, 26 May 2010 21:42:38 +0000 (-0700) Subject: memcg: clean up move charge X-Git-Tag: v2.6.35-rc1~197 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90254a65833b67502d14736410b3857a15535c67;p=pandora-kernel.git memcg: clean up move charge This patch cleans up move charge code by: - define functions to handle pte for each types, and make is_target_pte_for_mc() cleaner. - instead of checking the MOVE_CHARGE_TYPE_ANON bit, define a function that checks the bit. Signed-off-by: Daisuke Nishimura Acked-by: KAMEZAWA Hiroyuki Cc: Balbir Singh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed