[PATCH v2 08/20] arm64: simplify detection of memory zone boundaries for UMA configs

Catalin Marinas catalin.marinas at arm.com
Wed May 27 03:15:17 AEST 2020


On Wed, Apr 29, 2020 at 03:11:14PM +0300, Mike Rapoport wrote:
> From: Mike Rapoport <rppt at linux.ibm.com>
> 
> The free_area_init() function only requires the definition of maximal PFN
> for each of the supported zone rater than calculation of actual zone sizes
> and the sizes of the holes between the zones.
> 
> After removal of CONFIG_HAVE_MEMBLOCK_NODE_MAP the free_area_init() is
> available to all architectures.
> 
> Using this function instead of free_area_init_node() simplifies the zone
> detection.
> 
> Signed-off-by: Mike Rapoport <rppt at linux.ibm.com>

Acked-by: Catalin Marinas <catalin.marinas at arm.com>

(BTW, none of my acks so far made it to the linux-arm-kernel list
because of the large number of people on cc)


More information about the Linuxppc-dev mailing list