diff options
author | Alex Chiang <achiang@hp.com> | 2009-10-21 23:45:31 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-10-30 17:59:52 -0400 |
commit | 663fb2fc733006f685400fb44551303b72b61a88 (patch) | |
tree | fd8e8ed2d288a5e9e109a8391d59272b8957cede /Documentation/ABI | |
parent | d93fc863d2d2cea1057996c39cef368f41741448 (diff) |
Documentation: ABI: /sys/devices/system/cpu/cpu#/ topology files
Add brief descriptions for the following sysfs files:
/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
/sys/devices/system/cpu/cpu#/topology/physical_package_id
/sys/devices/system/cpu/cpu#/topology/thread_siblings
/sys/devices/system/cpu/cpu#/topology/thread_siblings_list
The descriptions in Documentation/cputopology.txt weren't very
informative, so I attempted a better description based on code
reading and hopeful guessing.
Updated Documentation/cputopology.txt with the better descriptions and
fixed some style issues.
Cc: Mike Travis <travis@sgi.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-devices-system-cpu | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu index 871acdbeed1a..2ade5c0809a0 100644 --- a/Documentation/ABI/testing/sysfs-devices-system-cpu +++ b/Documentation/ABI/testing/sysfs-devices-system-cpu | |||
@@ -38,6 +38,45 @@ Description: CPU topology files that describe kernel limits related to | |||
38 | See Documentation/cputopology.txt for more information. | 38 | See Documentation/cputopology.txt for more information. |
39 | 39 | ||
40 | 40 | ||
41 | What: /sys/devices/system/cpu/cpu#/topology/core_id | ||
42 | /sys/devices/system/cpu/cpu#/topology/core_siblings | ||
43 | /sys/devices/system/cpu/cpu#/topology/core_siblings_list | ||
44 | /sys/devices/system/cpu/cpu#/topology/physical_package_id | ||
45 | /sys/devices/system/cpu/cpu#/topology/thread_siblings | ||
46 | /sys/devices/system/cpu/cpu#/topology/thread_siblings_list | ||
47 | Date: December 2008 | ||
48 | Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org> | ||
49 | Description: CPU topology files that describe a logical CPU's relationship | ||
50 | to other cores and threads in the same physical package. | ||
51 | |||
52 | One cpu# directory is created per logical CPU in the system, | ||
53 | e.g. /sys/devices/system/cpu/cpu42/. | ||
54 | |||
55 | Briefly, the files above are: | ||
56 | |||
57 | core_id: the CPU core ID of cpu#. Typically it is the | ||
58 | hardware platform's identifier (rather than the kernel's). | ||
59 | The actual value is architecture and platform dependent. | ||
60 | |||
61 | core_siblings: internal kernel map of cpu#'s hardware threads | ||
62 | within the same physical_package_id. | ||
63 | |||
64 | core_siblings_list: human-readable list of the logical CPU | ||
65 | numbers within the same physical_package_id as cpu#. | ||
66 | |||
67 | physical_package_id: physical package id of cpu#. Typically | ||
68 | corresponds to a physical socket number, but the actual value | ||
69 | is architecture and platform dependent. | ||
70 | |||
71 | thread_siblings: internel kernel map of cpu#'s hardware | ||
72 | threads within the same core as cpu# | ||
73 | |||
74 | thread_siblings_list: human-readable list of cpu#'s hardware | ||
75 | threads within the same core as cpu# | ||
76 | |||
77 | See Documentation/cputopology.txt for more information. | ||
78 | |||
79 | |||
41 | What: /sys/devices/system/cpu/cpu*/cache/index*/cache_disable_X | 80 | What: /sys/devices/system/cpu/cpu*/cache/index*/cache_disable_X |
42 | Date: August 2008 | 81 | Date: August 2008 |
43 | KernelVersion: 2.6.27 | 82 | KernelVersion: 2.6.27 |