* How do you detect that hyperthreading is activated?
@ 2002-05-30 15:29 Björn Antonsson
2002-05-30 15:35 ` Dave Jones
0 siblings, 1 reply; 2+ messages in thread
From: Björn Antonsson @ 2002-05-30 15:29 UTC (permalink / raw)
To: linux-kernel; +Cc: d93-ban
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 589 bytes --]
Hi,
I have an application that needs to check if a linux kernel has booted
with hyperthreading enabled on ia32, in order to do some special tweaks.
I know how you detect that a CPU supports hyperthreading, but how do you
detect that the kernel has booted with hyperthreading activated?
And by hyperthreading activated I mean that the current number of CPUs,
for example 8, are actually 4 physical CPUs and 4 logical CPUs.
Is there a way that I can get at the logical/physical CPU bits, as
reported by the CPUID instruction, of all available CPUs? Or is there
an even better way?
/Björn
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-30 15:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-30 15:29 How do you detect that hyperthreading is activated? Björn Antonsson
2002-05-30 15:35 ` Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox