]> err.no Git - linux-2.6/blobdiff - mm/slub.c
hugetlb: fix pool resizing corner case
[linux-2.6] / mm / slub.c
index 1d48f383e97d61fb25dd0cb07e3b4e2bb3d7895d..f426f9bc644b992fd12ec535ac8510b93682fe0c 100644 (file)
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -3285,7 +3285,7 @@ static int list_locations(struct kmem_cache *s, char *buf,
        int node;
 
        if (!alloc_loc_track(&t, PAGE_SIZE / sizeof(struct location),
-                       GFP_KERNEL))
+                       GFP_TEMPORARY))
                return sprintf(buf, "Out of memory\n");
 
        /* Push back cpu slabs */