Messages in this thread | | | Date | Tue, 21 Jul 2015 09:14:40 -0500 | Subject | Re: [PATCH] mm: rename and document alloc_pages_exact_node | From | Robin Holt <> |
| |
On Tue, Jul 21, 2015 at 8:55 AM, Vlastimil Babka <vbabka@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@gmail.com>
Acked-by: Robin Holt <robinmholt@gmail.com>
| |