Re: [PATCH 1/1] arch/x86/mm/numa: Do not initialize nodes twice

From: Michal Hocko
Date: Mon Feb 21 2022 - 08:32:31 EST


On Mon 21-02-22 10:47:44, Oscar Salvador wrote:
> On Mon, Feb 21, 2022 at 10:20:02AM +0100, Michal Hocko wrote:
> > On Fri 18-02-22 23:43:02, Oscar Salvador wrote:
> > > Why setting the node online saves us then? Well, simply because
> > > __try_online_node() backs off when the node is online, meaning
> > > we do not end up calling register_one_node() in the first place.
> >
> > This is really a mess and a house built on sand. Thanks for looking into
> > it and hopefully this can get cleaned up to a saner state.
>
> Yes, I am willing to have a deep look into that and see how we can
> improve the situation.
>
> > This sha1 is from linux-next very likely so it won't be persistent.
> > Please drop it.
>
> Yes, it is. I guess it is fine to not have a "Fixes" tag here, so I will
> remove it then.

Normally we use sha in Fixes tag and I am not sure how many scripts we
would confuse if there was no but I guess it is good enough to mention
the patch name in the description. Theoretically we could have folded it
to my patch but I think it would be better to have it separate because
a) it gives a nice overview of the mess we should be dealing with and b)
the original patch would likely be more convoluted than necessary.
--
Michal Hocko
SUSE Labs