The patch exports the cpu topology info through sysfs on ia32/x86_64 machines. The info is similar to /proc/cpuinfo. The exported items are: /sys/devices/system/cpu/cpuX/topology/physical_package_id(representing the physical package id of cpu X) /sys/devices/system/cpu/cpuX/topology/core_id (representing the cpu core id to cpu X) /sys/devices/system/cpu/cpuX/topology/thread_siblings (representing the thread siblings to cpu X) /sys/devices/system/cpu/cpuX/topology/core_siblings (represeting the core siblings to cpu X) Signed-off-by: Zhang Yanmin <[email protected]>
Attachment:
cpu_topology_2.6.14_mm1_ia32_x86_64.v6.patch
Description: cpu_topology_2.6.14_mm1_ia32_x86_64.v6.patch
- Follow-Ups:
- Prev by Date: Re: bugs?
- Next by Date: [patch-mm 2/6] V4L/DVB (3154): TTUSB DEC driver patch roundup
- Previous by thread: Two bugs in kernel 2.6.15-rc5
- Next by thread: Re: [discuss] [PATCH] Export cpu topology for IA32 and x86_64 by sysfs
- Index(es):