[PATCH] mm: rename and document alloc_pages_exact_node
Robin Holt
robinmholt at gmail.com
Wed Jul 22 00:14:40 AEST 2015
On Tue, Jul 21, 2015 at 8:55 AM, Vlastimil Babka <vbabka at suse.cz> 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 <robinmholt at gmail.com>
Acked-by: Robin Holt <robinmholt at gmail.com>
More information about the Linuxppc-dev
mailing list