diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2012-07-31 16:42:32 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-31 18:42:41 -0700 |
commit | 79dbb2368ae3515fad9c8b7c8f831cd86be59b1d (patch) | |
tree | c25369353f439d2af5b78899cb91c43520ea48d3 /mm/hugetlb_cgroup.c | |
parent | 585e27ea6d2e71d0091443c39a00a35e6a5c5e8f (diff) | |
download | op-kernel-dev-79dbb2368ae3515fad9c8b7c8f831cd86be59b1d.zip op-kernel-dev-79dbb2368ae3515fad9c8b7c8f831cd86be59b1d.tar.gz |
hugetlb: move all the in use pages to active list
When we fail to allocate pages from the reserve pool, hugetlb tries to
allocate huge pages using alloc_buddy_huge_page. Add these to the active
list. We also need to add the huge page we allocate when we soft offline
the oldpage to active list.
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 'mm/hugetlb_cgroup.c')
0 files changed, 0 insertions, 0 deletions