Re: [PATCH] ARM: mm: initialize pfn limits with find_limits()

2019-01-21 Thread Mike Rapoport
On Mon, Jan 21, 2019 at 12:48:09PM -0800, Florian Fainelli wrote: > On 1/10/19 11:07 AM, Doug Berger wrote: > > On 12/27/18 3:47 PM, Doug Berger wrote: > >> The max_low_pfn value must be set before sparse_init() is called to > >> keep the early memblock allocations and frees balanced for kmemleak >

Re: [PATCH] ARM: mm: initialize pfn limits with find_limits()

2019-01-21 Thread Florian Fainelli
On 1/10/19 11:07 AM, Doug Berger wrote: > On 12/27/18 3:47 PM, Doug Berger wrote: >> The max_low_pfn value must be set before sparse_init() is called to >> keep the early memblock allocations and frees balanced for kmemleak >> initialization when sparsemem is enabled. >> >> This commit accomplishes

Re: [PATCH] ARM: mm: initialize pfn limits with find_limits()

2019-01-10 Thread Doug Berger
On 12/27/18 3:47 PM, Doug Berger wrote: > The max_low_pfn value must be set before sparse_init() is called to > keep the early memblock allocations and frees balanced for kmemleak > initialization when sparsemem is enabled. > > This commit accomplishes that by replacing the local variables min, >