Re: [RFC 4/7] powerpc/mm: Set MAX_ZONE_PFN to 0 for all zones beyond TOP_ZONE

2016-05-03 Thread Balbir Singh
On 03/05/16 16:29, Anshuman Khandual wrote: > From: Oliver O'Halloran > > All the memory zones past TOP_ZONE are managed by generic mm code. Zone > max PFN should be set to 0 instead of ~0UL since that's what the generic > mm code expects. Without this, kernel assigns all pages into ZONE_DEVICE

[RFC 4/7] powerpc/mm: Set MAX_ZONE_PFN to 0 for all zones beyond TOP_ZONE

2016-05-02 Thread Anshuman Khandual
From: Oliver O'Halloran All the memory zones past TOP_ZONE are managed by generic mm code. Zone max PFN should be set to 0 instead of ~0UL since that's what the generic mm code expects. Without this, kernel assigns all pages into ZONE_DEVICE zone which is not part of buddy allocator, hence kernel