Re: [PATCHv3 2/2] arm: use max_lowmem_limit in find_limit()

2015-06-10 Thread Russell King - ARM Linux
On Thu, Jun 11, 2015 at 02:59:33AM +0800, Min-Hua Chen wrote: > In commit: 1c2f87c22566cd057bc8cde10c37ae9da1a1bb76, the max_low is > set by memblock_get_current_limit(). However memblock.current_limit > can be changed by memblock_set_current_limit() any point before > find_limits(). > > It's bett

[PATCHv3 2/2] arm: use max_lowmem_limit in find_limit()

2015-06-10 Thread Min-Hua Chen
In commit: 1c2f87c22566cd057bc8cde10c37ae9da1a1bb76, the max_low is set by memblock_get_current_limit(). However memblock.current_limit can be changed by memblock_set_current_limit() any point before find_limits(). It's better to use arm_lowmem_limit to be max_lowmem in two ways: First, arm_lowmem