Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753324AbbBZA4r (ORCPT ); Wed, 25 Feb 2015 19:56:47 -0500 Received: from resqmta-po-09v.sys.comcast.net ([96.114.154.168]:39167 "EHLO resqmta-po-09v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752706AbbBZA4q (ORCPT ); Wed, 25 Feb 2015 19:56:46 -0500 Date: Wed, 25 Feb 2015 18:56:43 -0600 (CST) From: Christoph Lameter X-X-Sender: cl@gentwo.org 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 Subject: Re: [patch 1/2] mm: remove GFP_THISNODE In-Reply-To: Message-ID: References: Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 716 Lines: 23 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/