Re: [PATCH -v2 09/10] m68k,mm: Fully initialize the page-table allocator

Peter Zijlstra
2020-02-07T11:37:20Z

On Fri, Feb 07, 2020 at 11:58:42AM +0100, Geert Uytterhoeven wrote:
> Hoi Peter,
>
> Thanks for your patch!
>
> On Fri, Jan 31, 2020 at 1:56 PM Peter Zijlstra <peterz@infradead.org> wrote:
> > Also iterate the PMD tables to populate the PTE table allocator. This
> > also fully replaces the previous zero_pgtable hack.
>
> As no code is being removed in this patch, does this mean this case was
> broken since "[PATCH 06/10] m68k,mm: Improve kernel_page_table()"?

'broken' is not the right word, less optimal might qualify.

What this code does it add all the pages from the early kernel allocator
to the regular allocator, such that any left over fragments might be
used.