Re: [PATCH v2] x86/mm: Drop 4MB restriction on minimal NUMA node memory size

From: Qi Zheng
Date: Wed Oct 18 2023 - 09:21:09 EST


Hi Ingo,

On 2023/10/18 20:44, Ingo Molnar wrote:

* Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx> wrote:

While I agree with dropping the limitation, and I agree that
9391a3f9c7f1 should have provided more of a justification, I believe a
core MM fix is in order as well, for it to not crash. [ If it's fixed
upstream already, please reference the relevant commit ID. ]

Agree. I posted a fixed patchset[1] before, maybe we can reconsider it.
:)

[1]. https://lore.kernel.org/lkml/20230215152412.13368-1-zhengqi.arch@xxxxxxxxxxxxx/

For memoryless node, this patchset skip it and fallback to other nodes
when build its zonelists.

Mind resubmitting that to the MM folks, with the NULL dereference crash
mentioned prominently? Feel free to Cc: me.

OK, I will resend it if no one else objects. :)

Thanks,
Qi


Fixing hypothetical robustness problems is good, fixing specific crashes is
better. :-)

Thanks,

Ingo