[Devel] Re: [PATCH 2/4] Add a __GFP_SLABMEMCG flag

Christoph Lameter cl at linux.com
Fri Jun 8 12:31:07 PDT 2012


On Fri, 8 Jun 2012, Glauber Costa wrote:

>   */
>  #define __GFP_NOTRACK_FALSE_POSITIVE (__GFP_NOTRACK)
>
> -#define __GFP_BITS_SHIFT 25	/* Room for N __GFP_FOO bits */
> +#define __GFP_BITS_SHIFT 26	/* Room for N __GFP_FOO bits */
>  #define __GFP_BITS_MASK ((__force gfp_t)((1 << __GFP_BITS_SHIFT) - 1))

Please make this conditional on CONFIG_MEMCG or so. The bit can be useful
in particular on 32 bit architectures.




More information about the Devel mailing list