Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755296AbbGUOOn (ORCPT ); Tue, 21 Jul 2015 10:14:43 -0400 Received: from mail-ie0-f173.google.com ([209.85.223.173]:34640 "EHLO mail-ie0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754195AbbGUOOl (ORCPT ); Tue, 21 Jul 2015 10:14:41 -0400 MIME-Version: 1.0 In-Reply-To: <1437486951-19898-1-git-send-email-vbabka@suse.cz> References: <1437486951-19898-1-git-send-email-vbabka@suse.cz> Date: Tue, 21 Jul 2015 09:14:40 -0500 Message-ID: Subject: Re: [PATCH] mm: rename and document alloc_pages_exact_node From: Robin Holt To: Vlastimil Babka Cc: linux-mm@kvack.org, LKML , Andrew Morton , linux-ia64@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Christoph Lameter , Cliff Whickman Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 859 Lines: 17 On Tue, Jul 21, 2015 at 8:55 AM, Vlastimil Babka wrote: > The function alloc_pages_exact_node() was introduced in 6484eb3e2a81 ("page > allocator: do not check NUMA node ID when the caller knows the node is valid") > as an optimized variant of alloc_pages_node(), that doesn't allow the node id > to be -1. Unfortunately the name of the function can easily suggest that the > allocation is restricted to the given node. In truth, the node is only > preferred, unless __GFP_THISNODE is among the gfp flags. > ... > Cc: Robin Holt Acked-by: Robin Holt -- 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/