From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-f173.google.com (mail-ie0-f173.google.com [209.85.223.173]) by kanga.kvack.org (Postfix) with ESMTP id 02C1B6B0032 for ; Wed, 25 Feb 2015 19:56:46 -0500 (EST) Received: by iebtr6 with SMTP id tr6so9940329ieb.10 for ; Wed, 25 Feb 2015 16:56:45 -0800 (PST) Received: from resqmta-po-12v.sys.comcast.net (resqmta-po-12v.sys.comcast.net. [2001:558:fe16:19:96:114:154:171]) by mx.google.com with ESMTPS id n2si221624ico.51.2015.02.25.16.56.45 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 25 Feb 2015 16:56:45 -0800 (PST) Date: Wed, 25 Feb 2015 18:56:43 -0600 (CST) From: Christoph Lameter Subject: Re: [patch 1/2] mm: remove GFP_THISNODE In-Reply-To: Message-ID: References: Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: David Rientjes Cc: Andrew Morton , Vlastimil Babka , Pekka Enberg , Joonsoo Kim , Johannes Weiner , Mel Gorman , Pravin Shelar , Jarno Rajahalme , Greg Thelen , linux-kernel@vger.kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org, dev@openvswitch.org On Wed, 25 Feb 2015, David Rientjes wrote: > NOTE: this is not about __GFP_THISNODE, this is only about GFP_THISNODE. Well but then its not removing it. You are replacing it with an inline function. > + > +/* > + * Construct gfp mask to allocate from a specific node but do not invoke reclaim > + * or warn about failures. > + */ > +static inline gfp_t gfp_exact_node(gfp_t flags) > +{ > + return (flags | __GFP_THISNODE | __GFP_NOWARN) & ~__GFP_WAIT; > +} > #endif -- 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