Re: [PATCH v3 1/2] x86/mm: Add an option to change the padding used for the physical memory mapping

From: Thomas Gleixner
Date: Thu Sep 20 2018 - 05:29:04 EST


On Wed, 19 Sep 2018, Masayoshi Mizuma wrote:
> On Wed, Sep 19, 2018 at 02:48:06PM +0200, Ingo Molnar wrote:

> > - Add checking code to the later SRAT case to at least _detect_ bad
> > padding after the fact.
> >
> > We don't utilize RAM with bad padding until that, right?
>
> I have an idea as following. Does that make sense?
>
> Add a warning message which shows the padding size is not enough
> for the physical memory mapping and tell to the user about
> recommended padding size. User can change the padding size in next
> reboot to add the boot parameter.

Yes, that makes sense because silently failing is bad.

Thanks,

tglx