Messages in this thread | | | Date | Tue, 9 Oct 2007 11:47:10 -0700 (PDT) | From | Christoph Lameter <> | Subject | Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask |
| |
On Tue, 9 Oct 2007, Nishanth Aravamudan wrote:
> > > And nodemask_thisnode() always gives us a nodemask with only the node > > > the current process is running on set, I think? > > > > > > > Yes, I interpreted THISNODE to mean "this node I am running on". > > Callers seemed to expect this but the memoryless needs it to be "this > > node I am running on unless I specify a node in which case I mean that > > node.". > > I think that is only true (THISNODE = local node) if the callpath is not > via alloc_pages_node(). If the callpath is via alloc_pages_node(), then > it depends on whether the nid parameter is -1 (in which case it is also > local node) or anything (in which case it is the nid specified). Ah, > reading further along, that's exactly what your changelog indicates too > :)
Right. THISNODE means the node we are on or the node that we indicated we want to allocate from.
- 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/
| |