Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751564AbbG3PPa (ORCPT ); Thu, 30 Jul 2015 11:15:30 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:48354 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750822AbbG3PP3 (ORCPT ); Thu, 30 Jul 2015 11:15:29 -0400 Date: Thu, 30 Jul 2015 11:14:48 -0400 From: Johannes Weiner To: Mel Gorman Cc: Vlastimil Babka , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , David Rientjes , Greg Thelen , "Aneesh Kumar K.V" , Christoph Lameter , Pekka Enberg , Joonsoo Kim , Naoya Horiguchi Subject: Re: [RFC v2 1/4] mm: make alloc_pages_exact_node pass __GFP_THISNODE Message-ID: <20150730151448.GA14488@cmpxchg.org> References: <1437749126-25867-1-git-send-email-vbabka@suse.cz> <20150729133043.GE19352@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150729133043.GE19352@techsingularity.net> User-Agent: Mutt/1.5.23+102 (2ca89bed6448) (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 746 Lines: 14 On Wed, Jul 29, 2015 at 02:30:43PM +0100, Mel Gorman wrote: > The change of what we have now is a good idea. What you have is a solid > improvement in my view but I see there are a few different suggestions > in the thread. Based on that I think it makes sense to just destroy > alloc_pages_exact_node. In the future "exact" in the allocator API will > mean "exactly this number of pages". Use your __alloc_pages_node helper > and specify __GFP_THISNODE if the caller requires that specific node. +1 -- 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/