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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Lee Schermerhorn
Date: Friday, November 9, 2007 - 10:18 am

On Fri, 2007-11-09 at 08:45 -0800, Nishanth Aravamudan wrote:

I agree.  In an earlier patch, Mel was ignoring nid and using
numa_node_id() here.  This was causing your [Nish's] hugetlb pool
allocation patches to fail.  Mel fixed that ~9oct07.  


I don't know if we have any current callers that do this, but absent any
documentation specifying otherwise, Mel's implementation matches what
I'd expect the behavior to be if I DID call alloc_pages with 'THISNODE.
However, we could specify that THISNODE is ignored in __alloc_pages()
and recommend the use of alloc_pages_node() passing numa_node_id() as
the nid parameter to achieve the behavior.  This would eliminate the
check for 'THISNODE in __alloc_pages().  Just mask it off before calling
down to __alloc_pages_internal().

Does this make sense?

Lee


-
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)