FW: [PATCH 1/2] Export cpu info by sysfs

From: Zhang, Yanmin <yanmin.zhang_at_intel.com>
Date: 2005-12-14 15:26:11
Sorry. The patch should be sent to ia64 mail list.

-----Original Message-----
From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Zhang, Yanmin
Sent: 20051214 11:30
To: linux-kernel@vger.kernel.org
Cc: Pallipadi, Venkatesh
Subject: [PATCH 1/2] Export cpu info by sysfs

I worked out 2 patches to export cpu topology and cache info by sysfs.

The first patch is to export cpu topology info including below items
(attributes) which are similar to /proc/cpuinfo.

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_id (representing the cpu
thread 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 <yanmin.zhang@intel.com>

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Received on Wed Dec 14 15:26:51 2005

This archive was generated by hypermail 2.1.8 : 2005-12-14 15:27:01 EST