]> git.proxmox.com Git - mirror_zfs.git/blobdiff - include/sys/kmem.h
Fix for memory corruption caused by overruning the magazine
[mirror_zfs.git] / include / sys / kmem.h
index 25269335d41283d4a506933b53bac772601cc1bd..2208151d7427cd89de2b2f1620efb05e6db95e79 100644 (file)
@@ -49,7 +49,7 @@ extern "C" {
 #define KM_SLEEP                        GFP_KERNEL
 #define KM_NOSLEEP                      GFP_ATOMIC
 #undef  KM_PANIC                        /* No linux analog */
-#define KM_PUSHPAGE                    (GFP_KERNEL | __GFP_HIGH)
+#define KM_PUSHPAGE                    (KM_SLEEP | __GFP_HIGH)
 #define KM_VMFLAGS                      GFP_LEVEL_MASK
 #define KM_FLAGS                        __GFP_BITS_MASK