Re: [Patch] mm: make CONFIG_NUMA depend on CONFIG_SYSFS

Eric Dumazet
2011-07-19T06:55:05Z

Le mardi 19 juillet 2011 à 14:20 +0800, Cong Wang a écrit :

> Hmm, since we don't have to enable SYSFS for NUMA, how about
> make a new Kconfig for drivers/base/node.c? I.e., CONFIG_NUMA_SYSFS,
> like patch below.
>

I dont quite understand this patch, nor the idea behind it.

You can have a NUMA kernel (for appropriate percpu locality or whatever
kernel data), and yet user land processes unable to use numactl if SYSFS
is not enabled. I dont see a problem.

Please just fix the link problem ?