Re: [PATCH v3 1/2] x86/mm: Add an option to change the padding used for the physical memory mapping
From: Masayoshi Mizuma
Date: Thu Sep 20 2018 - 12:28:43 EST
On Thu, Sep 20, 2018 at 11:28:47AM +0200, Thomas Gleixner wrote:
> 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. I will try to add it.
- Masa