From: Ingo Molnar <mingo@elte.hu>
To: Borislav Petkov <bp@amd64.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>,
Frank Arnold <farnold@amd64.org>,
Thomas Gleixner <tglx@linutronix.de>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86: Clean up mwait_play_dead
Date: Wed, 13 Apr 2011 19:49:09 +0200 [thread overview]
Message-ID: <20110413174909.GB9619@elte.hu> (raw)
In-Reply-To: <20110413173634.GA1904@gere.osrc.amd.com>
* Borislav Petkov <bp@amd64.org> wrote:
> On Wed, Apr 13, 2011 at 09:52:40AM -0700, H. Peter Anvin wrote:
> > On 04/13/2011 09:11 AM, Frank Arnold wrote:
> > > From: Frank Arnold <frank.arnold@amd.com>
> > >
> > > Commit 93789b32dbf355e70f18b17a82e8661677a7f7fb introduced
> > > cpuinfo_x86 *c for brevity. It is used to check for the
> > > mwait feature flag. The same can be done with a subsequent
> > > check for clflsh and save us a second per-cpu pointer
> > > dereference.
> > >
> > > Signed-off-by: Frank Arnold <frank.arnold@amd.com>
> > > Acked-by: Borislav Petkov <borislav.petkov@amd.com>
> > > ---
> > > arch/x86/kernel/smpboot.c | 2 +-
> > > 1 files changed, 1 insertions(+), 1 deletions(-)
> > >
> >
> > This should be using this_cpu_has()... if that's not in the tree yet we
> > should add it.
>
> Looks like it is still in tip/x86/mm.
Yeah - that patch was sent at around the beginning of the merge window, so it
was too late for .39.
> We could either redo the patch properly when this_cpu_has() is merged or add
> the change against that branch.
Yeah - please do one against tip:master and we'll put it into the right topic
branch.
Thanks,
Ingo
next prev parent reply other threads:[~2011-04-13 17:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-13 16:11 Frank Arnold
2011-04-13 16:52 ` H. Peter Anvin
2011-04-13 17:36 ` Borislav Petkov
2011-04-13 17:38 ` H. Peter Anvin
2011-04-13 17:49 ` Ingo Molnar [this message]
2011-04-14 11:44 ` Frank Arnold
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=20110413174909.GB9619@elte.hu \
--to=mingo@elte.hu \
--cc=bp@amd64.org \
--cc=farnold@amd64.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/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®