diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2012-08-01 01:42:35 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-01 03:42:41 +0200 |
commit | 94ae8ba7176666d1e7d8bbb9f93670a27540b6a8 (patch) | |
tree | 5c8a1478e2463c29be6a3e6f63d5acabaac65a17 /ipc | |
parent | hugetlb: move all the in use pages to active list (diff) | |
download | linux-94ae8ba7176666d1e7d8bbb9f93670a27540b6a8.tar.xz linux-94ae8ba7176666d1e7d8bbb9f93670a27540b6a8.zip |
hugetlb/cgroup: assign the page hugetlb cgroup when we move the page to active list.
A page's hugetlb cgroup assignment and movement to the active list should
occur with hugetlb_lock held. Otherwise when we remove the hugetlb cgroup
we will iterate the active list and find pages with NULL hugetlb cgroup
values.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions