On Fri, 9 Nov 2007, Mel Gorman wrote:
quoted
Argh.... GFP_THISNODE must use the nid passed to alloc_pages_node and
*not* the local numa node id. Only if the node specified to alloc_pages
nodes is -1 will this work.
alloc_pages_node() calls __alloc_pages_nodemask() though where in this
function if I'm reading it right is called without a node id. Given no
other details on the nid, the current one seemed a logical choice.
If the function only called when the first zone == numa_node_id then
the use of numa_node_id here is okay.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>