[PATCH v3 4/5] powerpc/mm: restore top-down allocation when using movable_node

Reza Arbab arbab at linux.vnet.ibm.com
Tue Sep 27 10:14:14 AEST 2016


On Tue, Sep 27, 2016 at 07:12:31AM +1000, Benjamin Herrenschmidt wrote:
>In any case, if the memory hasn't been hotplug, this shouldn't be 
>necessary as we shouldn't be considering it for allocation.

Right. To be clear, the background info I put in the commit log refers 
to x86, where the SRAT can describe movable nodes which exist at boot.  
They're trying to avoid allocations from those nodes before they've been 
identified.

On power, movable nodes can only exist via hotplug, so that scenario 
can't happen. We can immediately go back to top-down allocation. That is 
the missing call being added in the patch.

-- 
Reza Arbab



More information about the Linuxppc-dev mailing list