Re: [PATCH] topology: Provide CPU topology in sysfs in !SMPconfigurations

From: Ben Hutchings
Date: Thu Nov 24 2011 - 13:32:51 EST


On Thu, Nov 24, 2011 at 08:24:26AM -0800, Greg KH wrote:
> On Thu, Nov 24, 2011 at 07:04:39AM +0000, Ben Hutchings wrote:
> > We should provide topology information to userland even if it's not
> > very interesting. The current code appears to work properly for !SMP
> > (tested on i386).
>
> Why, what will the topology look like for this?

physical_package_id: "-1"
core_id: "0"
thread_siblings: "1"
thread_siblings_list: "0"
core_siblings: "1"
core_siblings_list: "0"

Ben.

--
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
- Albert Camus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/