X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=include%2Flinux%2Fgfp.h;h=3760e7c5de0264aaec173486daca51035e80b252;hb=19035e5b5d1e3127b4925d86f6a77964f91f2c3c;hp=0bbc15f5453642e2c5057028322b29738cbf8a47;hpb=2e8844e13ab73f1107aea4317a53ff5879f2e1d7;p=deliverable%2Flinux.git diff --git a/include/linux/gfp.h b/include/linux/gfp.h index 0bbc15f54536..3760e7c5de02 100644 --- a/include/linux/gfp.h +++ b/include/linux/gfp.h @@ -85,6 +85,9 @@ struct vm_area_struct; __GFP_NOWARN|__GFP_REPEAT|__GFP_NOFAIL|\ __GFP_NORETRY|__GFP_NOMEMALLOC) +/* Control slab gfp mask during early boot */ +#define SLAB_GFP_BOOT_MASK __GFP_BITS_MASK & ~(__GFP_WAIT|__GFP_IO|__GFP_FS) + /* Control allocation constraints */ #define GFP_CONSTRAINT_MASK (__GFP_HARDWALL|__GFP_THISNODE)