Re: [PATCH v3] mm: fix panic in __alloc_pages

From: Michal Hocko
Date: Thu Dec 09 2021 - 08:29:17 EST


On Thu 09-12-21 10:23:52, Alexey Makhalov wrote:
>
>
> > On Dec 9, 2021, at 1:56 AM, Michal Hocko <mhocko@xxxxxxxx> wrote:
> >
> > On Thu 09-12-21 09:28:55, Alexey Makhalov wrote:
> >>
> >>
> >> [ 0.081777] Node 4 uninitialized by the platform. Please report with boot dmesg.
> >> [ 0.081790] Initmem setup node 4 [mem 0x0000000000000000-0x0000000000000000]
> >> ...
> >> [ 0.086441] Node 127 uninitialized by the platform. Please report with boot dmesg.
> >> [ 0.086454] Initmem setup node 127 [mem 0x0000000000000000-0x0000000000000000]
> >
> > Interesting that only those two didn't get a proper arch specific
> > initialization. Could you check why? I assume init_cpu_to_node
> > doesn't see any CPU pointing at this node. Wondering why that would be
> > the case but that can be a bug in the affinity tables.
>
> My bad shrinking. Not just these 2, but all possible and not present nodes from 4 to 127
> are having this message.

Does that mean that your possible (but offline) cpus do not set their
affinity?
--
Michal Hocko
SUSE Labs