diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2012-07-31 16:42:35 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-31 18:42:41 -0700 |
commit | 94ae8ba7176666d1e7d8bbb9f93670a27540b6a8 (patch) | |
tree | 5c8a1478e2463c29be6a3e6f63d5acabaac65a17 /net/tipc/handler.c | |
parent | 79dbb2368ae3515fad9c8b7c8f831cd86be59b1d (diff) | |
download | op-kernel-dev-94ae8ba7176666d1e7d8bbb9f93670a27540b6a8.zip op-kernel-dev-94ae8ba7176666d1e7d8bbb9f93670a27540b6a8.tar.gz |
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 'net/tipc/handler.c')
0 files changed, 0 insertions, 0 deletions