Thread (11 messages) 11 messages, 6 authors, 2011-07-19

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

From: Cong Wang <hidden>
Date: 2011-07-19 07:06:40
Also in: lkml

ao? 2011a1'07ae??19ae?JPY 14:54, Eric Dumazet a??e??:
Le mardi 19 juillet 2011 A  14:20 +0800, Cong Wang a A(C)crit :
quoted
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.
Both Pekka and Mel pointed out that it makes sense to have NUMA kernel
without SYSFS, this means sysfs interface is not a must for NUMA kernel.
Thus, I think it makes sense to separate the numa sysfs code out.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help