From: Aneesh Kumar K.V Date: Tue, 31 Jul 2012 23:42:32 +0000 (-0700) Subject: hugetlb: move all the in use pages to active list X-Git-Tag: v3.6-rc1~24^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79dbb2368ae3515fad9c8b7c8f831cd86be59b1d;p=pandora-kernel.git 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 Reviewed-by: Michal Hocko Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed