Re: [PATCH v7 2/5] mm: remove x86-only restriction of movable_node

From: Reza Arbab
Date: Tue Nov 15 2016 - 10:57:47 EST


On Tue, Nov 15, 2016 at 12:35:42PM +0530, Aneesh Kumar K.V wrote:
Considering that we now can mark memblock hotpluggable, do we need to
enable the bottom up allocation for ppc64 also ?

No, we don't, because early_init_dt_scan_memory() marks the memblocks hotpluggable immediately when they are added. There is no gap between the addition and the marking, as there is on x86, during which an allocation might accidentally occur in a movable node.

--
Reza Arbab