]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Documentation: ABI: /sys/devices/system/cpu/cpu#/node
authorAlex Chiang <achiang@hp.com>
Tue, 15 Dec 2009 01:59:09 +0000 (17:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2009 16:53:18 +0000 (08:53 -0800)
Describe NUMA node symlink created for CPUs when CONFIG_NUMA is set.

Signed-off-by: Alex Chiang <achiang@hp.com>
Cc: Greg KH <greg@kroah.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Gary Hade <garyhade@us.ibm.com>
Cc: Badari Pulavarty <pbadari@us.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: David Rientjes <rientjes@google.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/ABI/testing/sysfs-devices-system-cpu

index 2aae06fcbed7ae8d57489d89c5fea158beb37748..84a710f87c64b17b2eab79a3a2b860c7a9c97319 100644 (file)
@@ -92,6 +92,20 @@ Description: Discover NUMA node a CPU belongs to
                /sys/devices/system/cpu/cpu42/node2 -> ../../node/node2
 
 
+What:          /sys/devices/system/cpu/cpu#/node
+Date:          October 2009
+Contact:       Linux memory management mailing list <linux-mm@kvack.org>
+Description:   Discover NUMA node a CPU belongs to
+
+               When CONFIG_NUMA is enabled, a symbolic link that points
+               to the corresponding NUMA node directory.
+
+               For example, the following symlink is created for cpu42
+               in NUMA node 2:
+
+               /sys/devices/system/cpu/cpu42/node2 -> ../../node/node2
+
+
 What:          /sys/devices/system/cpu/cpu#/topology/core_id
                /sys/devices/system/cpu/cpu#/topology/core_siblings
                /sys/devices/system/cpu/cpu#/topology/core_siblings_list