On Fri, 29 May 2009, Max Laier wrote: > I'm trying to replace a call to alloc_page() with alloc_pages_node() in > order to membind the allocation to a specific node set. This seemed to > work - as page_to_nid() returns the selected node. However, the free > memory in that node isn't decreasing. > I'm assuming that pgalloc_{zone} is being incremented correctly in /proc/vmstat if you have CONFIG_VM_EVENT_COUNTERS enabled (and that you're using a recent kernel, you never mentioned your version). Keep in mind the vm stat threshold which will purposefully neglect to update ZVCs if it is not reached. nr_free_pages in /proc/zoneinfo won't decrease if the allocated page was from the pcp and is order 0; check the difference in `count' for the allocating cpu's pageset on the target node in the same file. -- To unsubscribe from this list: send the line "unsubscribe linux-numa" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html