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

From: Yajun Deng
Date: Tue May 16 2023 - 07:09:34 EST


May 16, 2023 6:34 PM, "Borislav Petkov" <bp@xxxxxxxxx> wrote:

> On Tue, May 16, 2023 at 04:07:48PM +0800, Yajun Deng wrote:
>
>> The node in sysfs already has cpu link and memory link, the memory
>> control also under a node.
>>
>> Expose node link to memory control directory and expose memory control
>> link to node directory if CONFIG_NUMA.
>
> Why?
>
It will help users to confirm which MC belongs to which node if there are multiple
MCs. Therefore, we can also know how many dimm on each node.

>> At the same time, change the type of EDAC from tristate to boolean
>> because it needs node_devices.
>
> Nope.
>
> --
> Regards/Gruss,
> Boris.
>
> https://people.kernel.org/tglx/notes-about-netiquette