From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx163.postini.com [74.125.245.163]) by kanga.kvack.org (Postfix) with SMTP id 4C3216B006E for ; Fri, 8 Jun 2012 15:31:11 -0400 (EDT) Date: Fri, 8 Jun 2012 14:31:07 -0500 (CDT) From: Christoph Lameter Subject: Re: [PATCH 2/4] Add a __GFP_SLABMEMCG flag In-Reply-To: <1339148601-20096-3-git-send-email-glommer@parallels.com> Message-ID: References: <1339148601-20096-1-git-send-email-glommer@parallels.com> <1339148601-20096-3-git-send-email-glommer@parallels.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Glauber Costa Cc: cgroups@vger.kernel.org, linux-mm@kvack.org, Tejun Heo , Frederic Weisbecker , devel@openvz.org, kamezawa.hiroyu@jp.fujitsu.com, Pekka Enberg , Michal Hocko , Johannes Weiner , Suleiman Souhlal 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. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org