Re: [PATCH] EDAC: Expose node link in sysfs if CONFIG_NUMA

From: Borislav Petkov
Date: Tue May 16 2023 - 08:10:29 EST


On Tue, May 16, 2023 at 11:59:07AM +0000, Yajun Deng wrote:
> If we have '/sys/devices/system/node/node0/mc0', by comparing the number
> of dimm and MemTotal in meminfo. It is easy to know that the dimm didn't
> recognized whether it belonged to this NUMA node or not.

mc != NUMA node.

In any case, EDAC's purpose is not for finding lost memory. Fix your
system's configuration so that no DIMMs remain unrecognized at boot.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette