Re: [PATCH] um: Fix to call read_initrd after init_bootmem

From: Masami Hiramatsu
Date: Thu Apr 27 2017 - 18:04:50 EST


Hi Richard,

On Thu, 27 Apr 2017 15:53:25 +0200
Richard Weinberger <richard@xxxxxx> wrote:

> Masami,
>
> Am 27.04.2017 um 05:15 schrieb Masami Hiramatsu:
> > Since read_initrd() invokes alloc_bootmem() for allocating
> > memory to load initrd image, it must be called after init_bootmem.
> >
> > This makes read_initrd() called directly from setup_arch()
> > after init_bootmem() and mem_total_pages().
>
> Thanks for fixing this! Did you figure since when this is broken?
> I think that should go into -stable.

Thank you for quick response!
As far as I can see, v4.9 kernel has this issue, but v4.4 is OK.
Let me bisect it.

Thank you,

>
> Thanks,
> //richard


--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>