]> Git Repo - linux.git/commit
hugetlb/cgroup: add the cgroup pointer to page lru
authorAneesh Kumar K.V <[email protected]>
Tue, 31 Jul 2012 23:42:15 +0000 (16:42 -0700)
committerLinus Torvalds <[email protected]>
Wed, 1 Aug 2012 01:42:41 +0000 (18:42 -0700)
commit9dd540e23111d8884773ab942a736f3aba4040d4
tree84c7dcfa97c43d1f09ad88cdc836ff1b99da76e4
parent2bc64a2046975410505bb119bba32705892b9255
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 <[email protected]>
Cc: David Rientjes <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: Hillf Danton <[email protected]>
Reviewed-by: Michal Hocko <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/hugetlb_cgroup.h
mm/hugetlb.c
This page took 0.055263 seconds and 4 git commands to generate.