From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753188AbZJVEPk (ORCPT ); Thu, 22 Oct 2009 00:15:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752955AbZJVEPg (ORCPT ); Thu, 22 Oct 2009 00:15:36 -0400 Received: from g1t0029.austin.hp.com ([15.216.28.36]:31982 "EHLO g1t0029.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751919AbZJVEP0 (ORCPT ); Thu, 22 Oct 2009 00:15:26 -0400 Subject: [PATCH v2 5/5] Documentation: ABI: /sys/devices/system/cpu/cpu#/node To: akpm@linux-foundation.org From: Alex Chiang Cc: Randy Dunlap , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Greg KH Date: Wed, 21 Oct 2009 22:15:30 -0600 Message-ID: <20091022041530.15705.29051.stgit@bob.kio> In-Reply-To: <20091022040814.15705.95572.stgit@bob.kio> References: <20091022040814.15705.95572.stgit@bob.kio> User-Agent: StGit/0.14.3.386.gb02d MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Describe NUMA node symlink created for CPUs when CONFIG_NUMA is set. Cc: Greg KH Cc: Randy Dunlap Signed-off-by: Alex Chiang --- Documentation/ABI/testing/sysfs-devices-system-cpu | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu index b400c34..67813ae 100644 --- a/Documentation/ABI/testing/sysfs-devices-system-cpu +++ b/Documentation/ABI/testing/sysfs-devices-system-cpu @@ -79,6 +79,21 @@ Description: Discover and change the online state of a CPU. For more information, please read Documentation/cpu-hotplug.txt + +What: /sys/devices/system/cpu/cpu#/node +Date: October 2009 +Contact: Linux memory management mailing list +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