Re: + mm-fix-panic-in-__alloc_pages.patch added to -mm tree

From: Andrew Morton
Date: Tue Dec 14 2021 - 15:57:54 EST


On Tue, 14 Dec 2021 11:11:54 +0100 Michal Hocko <mhocko@xxxxxxxx> wrote:

> > I need some clarification here. It sounds like memoryless nodes work on
> > x86, but hotplug + memoryless nodes isn't a supported use case or you're
> > introducing it as a new use case?
> >
> > If this is a new use case, then I'm inclined to say this patch should
> > NOT go in and a proper fix should be implemented on hotplug's side. I
> > don't want to be in the business of having/seeing this conversation
> > reoccur because we just papered over this issue in percpu.
>
> The patch still seems to be in the mmotm tree. I have sent a different
> fix candidate [1] which should be more robust and cover also other potential
> places.
>
> [1] http://lkml.kernel.org/r/20211214100732.26335-1-mhocko@xxxxxxxxxx

Is cool, I'm paying attention.

We do want something short and simple for backporting to -stable (like
Alexey's patch) so please bear that in mind while preparing an
alternative.