]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - mm/huge_memory.c
mm, page_alloc: rename __GFP_WAIT to __GFP_RECLAIM
[mirror_ubuntu-artful-kernel.git] / mm / huge_memory.c
index f5c08b46fef85dd5c6d4247299660a0e1acb0838..9812d4618651621e1d7ebc343e8aeff3434a828c 100644 (file)
@@ -786,7 +786,7 @@ static int __do_huge_pmd_anonymous_page(struct mm_struct *mm,
 
 static inline gfp_t alloc_hugepage_gfpmask(int defrag, gfp_t extra_gfp)
 {
-       return (GFP_TRANSHUGE & ~(defrag ? 0 : __GFP_WAIT)) | extra_gfp;
+       return (GFP_TRANSHUGE & ~(defrag ? 0 : __GFP_RECLAIM)) | extra_gfp;
 }
 
 /* Caller must hold page table lock. */