Re: [RFC GIT PULL] EFI fixes, memblock quirk

From: Ingo Molnar
Date: Tue Feb 19 2019 - 10:16:46 EST



* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> 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.

Thanks!

> > 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?

Not that I'm aware of.

> If not, then the current hack seems sufficient.

Ok!

Thanks,

Ingo