Re: [RFC GIT PULL] EFI fixes, memblock quirk
From: Linus Torvalds
Date: Sun Feb 17 2019 - 12:24:32 EST
On Sun, Feb 17, 2019 at 2:59 AM Ingo Molnar <mingo@xxxxxxxxxx> wrote:
>
> I marked it RFC: please have a second look at the mm/memblock.c change,
> which adds a INIT_MEMBLOCK_RESERVED_REGIONS detour that ARM64 takes for
> these systems.
It's not pretty, but it looks minimal for now. Pulled.
> Perhaps we should upgrade the build time sizing of all platforms to
> INIT_MEMBLOCK_REGIONS+NR_CPUS+1 and thus centrally give an extra
> allocation entry per CPU configured?
>
> Or is there some cleaner solution?
Is there some reason other platforms might want that kind of thing?
If not, then the current hack seems sufficient.
Linus