From: "Wilkerson, Bryan P" <Bryan.P.Wilkerson@intel.com>
To: <linux-kernel@vger.kernel.org>
Subject: SMT_ID or APIC_ID caching
Date: Fri, 2 Sep 2005 07:55:48 -0700 [thread overview]
Message-ID: <194B303F2F7B534594F2AB2D87269D9F06FC87EE@orsmsx408> (raw)
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
reply other threads:[~2005-09-02 14:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=194B303F2F7B534594F2AB2D87269D9F06FC87EE@orsmsx408 \
--to=bryan.p.wilkerson@intel.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®