mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* CPU siblings
@ 2008-03-20 16:03 Jon Masters
  2008-03-20 21:48 ` Bill Davidsen
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Masters @ 2008-03-20 16:03 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jeff Burke

Yo,

Myself and a colleague were just discussing the output of /proc/cpuinfo,
specifically the CPU siblings field. He pointed out/we think that this
historically was supposed to be number of HT siblings for a given CPU.

The actual value of that field comes from the Hamming Weight (number of
set bits) of the per_cpu cpu_core_map variable, which supposedly is
"representing HT and core siblings of each logical CPU", i.e. both HT
siblings and additional cores within the same CPU package.

Does this mean that "siblings" needs renaming? (doesn't it come
originally from "HT siblings"? or is it supposed to be both?). More
importantly, what's the correct way to determine number of HTs?

Jon.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-20 21:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-20 16:03 CPU siblings Jon Masters
2008-03-20 21:48 ` Bill Davidsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®