From: Lin Ming <ming.m.lin@intel.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: "Cyrill Gorcunov" <gorcunov@openvz.org>,
"Ingo Molnar" <mingo@elte.hu>,
"Robert Richter" <robert.richter@amd.com>,
LKML <linux-kernel@vger.kernel.org>,
"Arnaldo Carvalho de Melo" <acme@redhat.com>,
"Frédéric Weisbecker" <fweisbec@gmail.com>
Subject: Re: [PATCH -tip] perf, x86: Make a second write to performance counter if needed
Date: Tue, 08 Jun 2010 17:18:39 +0800 [thread overview]
Message-ID: <1275988719.17004.110.camel@minggr.sh.intel.com> (raw)
In-Reply-To: <1275904085.1645.555.camel@laptop>
On Mon, 2010-06-07 at 17:48 +0800, Peter Zijlstra wrote:
> On Thu, 2010-06-03 at 01:23 +0400, Cyrill Gorcunov wrote:
> > On Netburst PMU we need a second write to a performance counter
> > due to cpu erratum.
> >
> > A simple flag test instead of alternative instructions was choosen
> > because wrmsrl is already a macro and if virtualization is turned
> > on will need an additional wrapper call which is more expencise.
> >
> > nb: we should propably switch to jump-labels as only this facility
> > reach the mainline.
>
> OK. Thanks Cyrill.
I tested this patch and it works well for pre-defined events.
Lin Ming
next prev parent reply other threads:[~2010-06-08 9:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-02 21:23 Cyrill Gorcunov
2010-06-07 9:48 ` Peter Zijlstra
2010-06-08 9:18 ` Lin Ming [this message]
2010-06-09 10:16 ` [tip:perf/core] " tip-bot for Cyrill Gorcunov
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=1275988719.17004.110.camel@minggr.sh.intel.com \
--to=ming.m.lin@intel.com \
--cc=acme@redhat.com \
--cc=fweisbec@gmail.com \
--cc=gorcunov@openvz.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=peterz@infradead.org \
--cc=robert.richter@amd.com \
/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
Powered by JetHome