Re: [PATCH -next v2] mm/hotplug: fix a null-ptr-deref during NUMA boot

From: Pingfan Liu
Date: Thu May 30 2019 - 09:05:05 EST

On Wed, May 29, 2019 at 2:21 AM Michal Hocko <mhocko@xxxxxxxxxx> wrote:
> On Thu 23-05-19 12:00:46, Pingfan Liu wrote:
> [...]
> > > Yes, but maybe it will pay great effort on it.
> > >
> > And as a first step, we can find a way to fix the bug reported by me
> > and the one reported by Barret
> Can we try
> for starter?
If it turns out that the changing of for_each_online_node() will not
break functions in scheduler like task_numa_migrate(), I think it will
be a good starter. On the other hand, if it does, then I think it only
requires a slight adjustment of your patch to meet the aim.

> --
> Michal Hocko
> SUSE Labs