From: Aneesh Kumar K.V Date: Tue, 31 Jul 2012 23:42:27 +0000 (-0700) Subject: hugetlb/cgroup: migrate hugetlb cgroup info from oldpage to new page during migration X-Git-Tag: v3.6-rc1~24^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e6ac7fab374816de9a8b0a8fbb02ef761a30ff4;p=pandora-kernel.git hugetlb/cgroup: migrate hugetlb cgroup info from oldpage to new page during migration With HugeTLB pages, hugetlb cgroup is uncharged in compound page destructor. Since we are holding a hugepage reference, we can be sure that old page won't get uncharged till the last put_page(). Signed-off-by: Aneesh Kumar K.V Cc: David Rientjes Acked-by: KAMEZAWA Hiroyuki Cc: Hillf Danton Cc: Michal Hocko Cc: KOSAKI Motohiro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed