From: Andi Kleen <andi@firstfloor.org>
To: Tejun Heo <tj@kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>,
x86@kernel.org, Christoph Lameter <cl@linux.com>,
linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Pekka Enberg <penberg@kernel.org>
Subject: Re: [PATCH tip:x86/mm 1/3] x86: A fast way to check capabilities of the current cpu
Date: Mon, 14 Mar 2011 12:49:14 -0700 [thread overview]
Message-ID: <m2k4g1zdmt.fsf@firstfloor.org> (raw)
In-Reply-To: <20110312115010.GC2005@htj.dyndns.org> (Tejun Heo's message of "Sat, 12 Mar 2011 12:50:10 +0100")
Tejun Heo <tj@kernel.org> writes:
> Add this_cpu_has() which determines if the current cpu has a certain
> ability using a segment prefix and a bit test operation.
Hmm: if the CPU capability is really tested in a performance critical
path, wouldn't it even be better to just use static_branch() now?
-Andi
--
ak@linux.intel.com -- Speaking for myself only
next prev parent reply other threads:[~2011-03-14 19:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-12 11:50 [PATCH tip:x86/mm 1/3] x86: A fast way to check capabilities of the current cpu Tejun Heo
2011-03-12 11:50 ` [PATCH tip:x86/mm 2/3] x86: Use this_cpu_has for thermal_interrupt " Tejun Heo
2011-03-12 11:51 ` [PATCH tip:x86/mm 3/3] acpi throttling: Use this_cpu_has and simplify code " Tejun Heo
2011-03-28 16:40 ` Tejun Heo
2011-03-30 14:20 ` Christoph Lameter
2011-03-30 15:19 ` Tejun Heo
2011-03-14 19:49 ` Andi Kleen [this message]
2011-03-30 15:58 ` [PATCH tip:x86/mm 1/3] x86: A fast way to check capabilities of the " H. Peter Anvin
2011-03-30 16:07 ` Tejun Heo
2011-03-30 16:15 ` Christoph Lameter
2011-03-30 16:16 ` H. Peter Anvin
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=m2k4g1zdmt.fsf@firstfloor.org \
--to=andi@firstfloor.org \
--cc=akpm@linux-foundation.org \
--cc=cl@linux.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=penberg@kernel.org \
--cc=tglx@linutronix.de \
--cc=tj@kernel.org \
--cc=x86@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