Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nishanth Aravamudan
Date: Friday, November 9, 2007 - 9:45 am

On 09.11.2007 [16:14:55 +0000], Mel Gorman wrote:

Yeah, I guess the context here matters (and is a little hard to follow
because thare are a few places that change in different ways here):

For allocating pages from a particular node (GFP_THISNODE with nid),
the nid clearly must be specified. This only happens with
alloc_pages_node(), AFAICT. So, in that interface, the right thing is
done and the appropriate nodemask will be built.

On the other hand, if we call alloc_pages() with GFP_THISNODE set, there
is no nid to base the allocation on, so we "fallback" to numa_node_id()
[ almost like the nid had been specified as -1 ].

So I guess this is logical -- but I wonder, do we have any callers of
alloc_pages(GFP_THISNODE) ? It seems like an odd thing to do, when
alloc_pages_node() exists?

Thanks,
Nish

-- 
Nishanth Aravamudan <nacc@us.ibm.com>
IBM Linux Technology Center
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask, Christoph Lameter, (Fri Nov 9, 8:45 am)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask, Christoph Lameter, (Fri Nov 9, 9:19 am)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask, Nishanth Aravamudan, (Fri Nov 9, 9:45 am)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask, Lee Schermerhorn, (Fri Nov 9, 10:18 am)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask, Christoph Lameter, (Fri Nov 9, 10:26 am)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask, Nishanth Aravamudan, (Fri Nov 9, 11:14 am)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask, Nishanth Aravamudan, (Fri Nov 9, 11:16 am)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask, Nishanth Aravamudan, (Fri Nov 9, 11:20 am)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask, Christoph Lameter, (Fri Nov 9, 11:22 am)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask, Christoph Lameter, (Mon Nov 12, 12:07 pm)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask, Christoph Lameter, (Tue Nov 20, 1:18 pm)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask, Christoph Lameter, (Tue Nov 20, 1:19 pm)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask, Christoph Lameter, (Tue Nov 20, 2:38 pm)