mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* SMT_ID or APIC_ID caching
@ 2005-09-02 14:55 Wilkerson, Bryan P
  0 siblings, 0 replies; only message in thread
From: Wilkerson, Bryan P @ 2005-09-02 14:55 UTC (permalink / raw)
  To: linux-kernel


On a P4 with HT, I'm trying to get the logical processor ID (SMT_ID) for
the currently executing thread in kernel mode.  The SMT_ID is part of
the APIC_ID which is in EBX[24:16] after calling cpuid with EAX=1.

Is the SMT_ID or APIC_ID per_cpu cached by the kernel anywhere?

Thanks,

-bryan

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-02 14:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-02 14:55 SMT_ID or APIC_ID caching Wilkerson, Bryan P

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®