[PATCH] Trim careful_alocation()

Mike Kravetz kravetz at us.ibm.com
Thu Mar 31 07:56:11 EST 2005


On Thu, Mar 31, 2005 at 07:25:55AM +1000, Anton Blanchard wrote:
> 
> On NUMA kernels we create NUMA nodes for all possible nodes. If that
> node doesnt have any memory behind it then we will have to allocate from
> another node. If the node we allocate from is a previous node then it
> will have already been initialised by the bootmem allocator. Thus we
> need to use bootmem in this case.
> 
> Its all a bit hairy but we need to support nodes with no memory behind
> them.
> 

You're absolutely right.  I missed one/some of the subtle points.

Please disregard this patch.

-- 
Mike



More information about the Linuxppc64-dev mailing list