From: Johannes Weiner Date: Wed, 23 Mar 2011 23:42:36 +0000 (-0700) Subject: memcg: unify charge/uncharge quantities to units of pages X-Git-Tag: v2.6.39-rc1~151 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ec99d6213b579a84c85ad37f2aa8ded4857c53c;p=pandora-kernel.git memcg: unify charge/uncharge quantities to units of pages There is no clear pattern when we pass a page count and when we pass a byte count that is a multiple of PAGE_SIZE. We never charge or uncharge subpage quantities, so convert it all to page counts. Signed-off-by: Johannes Weiner Acked-by: KAMEZAWA Hiroyuki Cc: Daisuke Nishimura Cc: Balbir Singh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed