From: Aneesh Kumar K.V Date: Tue, 31 Jul 2012 23:42:15 +0000 (-0700) Subject: hugetlb/cgroup: add the cgroup pointer to page lru X-Git-Tag: v3.6-rc1~24^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dd540e23111d8884773ab942a736f3aba4040d4;p=pandora-kernel.git hugetlb/cgroup: add the cgroup pointer to page lru Add the hugetlb cgroup pointer to 3rd page lru.next. This limit the usage to hugetlb cgroup to only hugepages with 3 or more normal pages. I guess that is an acceptable limitation. Signed-off-by: Aneesh Kumar K.V Cc: David Rientjes Acked-by: KAMEZAWA Hiroyuki Cc: Hillf Danton Reviewed-by: Michal Hocko Cc: KOSAKI Motohiro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed