[PATCH] powerpc/pseries: Provide verbose info about HPT resizing attempt

Bharata B Rao bharata at linux.ibm.com
Wed Apr 10 19:49:13 AEST 2019


On Wed, Apr 10, 2019 at 08:20:53PM +1000, Michael Ellerman wrote:
> Bharata B Rao <bharata at linux.ibm.com> writes:
> 
> > When HPT resizing is attempted in response to memory hotplug, we see
> > the following messages from the kernel:
> >
> > lpar: Attempting to resize HPT to shift 23
> > Unable to resize hash page table to target order 23: -28
> >
> > This gives a feeling as though we are trying to grow HPT but failed and
> > hence bad things might happen in future. Improve the message a bit
> > by explicitly printing the existing HPT shift value in addtion to
> > the newly targeted value so that it is clear that we haven't failed
> > to grow HPT. After this commit, the same message will appear like this:
> >
> > lpar: Attempting to resize HPT from shift 25 to 23
> > Unable to resize hash page table to target order 23: -28
> >
> > Signed-off-by: Bharata B Rao <bharata at linux.ibm.com>
> 
> I'd be inclined to just remove the "Attempting .." message.
> 
> But I have this patch from Laurent queued, which already reworks things:
> 
>   https://patchwork.ozlabs.org/patch/1055996/
> 
> 
> Does that address your problem?

Yes, I should have seen this earlier.

Regards,
Bharata.



More information about the Linuxppc-dev mailing list