From: Lin Ming <ming.m.lin@intel.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
Ingo Molnar <mingo@redhat.com>,
Frederic Weisbecker <fweisbec@gmail.com>,
Arjan van de Ven <arjan@infradead.org>,
Stephane Eranian <eranian@google.com>,
"robert.richter@amd.com" <robert.richter@amd.com>,
Cyrill Gorcunov <gorcunov@gmail.com>,
"paulus@samba.org" <paulus@samba.org>,
Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>,
Corey Ashford <cjashfor@linux.vnet.ibm.com>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [DRAFT PATCH 2/3] perf: Implement Nehalem uncore pmu
Date: Tue, 09 Nov 2010 13:01:12 +0800 [thread overview]
Message-ID: <1289278872.2430.17.camel@minggr.sh.intel.com> (raw)
In-Reply-To: <87vd48qa6a.fsf@basil.nowhere.org>
On Mon, 2010-11-08 at 20:20 +0800, Andi Kleen wrote:
> Lin Ming <ming.m.lin@intel.com> writes:
>
> Looking at a an old patch.
>
> > +
> > +static void uncore_pmu_disable_events(void)
> > +{
> > + struct uncore_cpu_hw_events *cpuc = &__get_cpu_var(uncore_cpu_hw_events);
> > + int node = numa_node_id();
>
> Using numa_node_id() here implies this can't be used when NUMA is turned
> off. Better use the package id.
Right, will fix it with topology_physical_package_id.
Thanks.
>
> -Andi
>
prev parent reply other threads:[~2010-11-09 4:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-02 7:28 Lin Ming
2010-11-02 14:53 ` Stephane Eranian
2010-11-02 15:33 ` Lin Ming
2010-11-02 16:59 ` Stephane Eranian
2010-11-04 19:28 ` Peter Zijlstra
2010-11-05 1:30 ` Lin Ming
2010-11-08 12:20 ` Andi Kleen
2010-11-09 5:01 ` Lin Ming [this message]
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=1289278872.2430.17.camel@minggr.sh.intel.com \
--to=ming.m.lin@intel.com \
--cc=a.p.zijlstra@chello.nl \
--cc=andi@firstfloor.org \
--cc=arjan@infradead.org \
--cc=cjashfor@linux.vnet.ibm.com \
--cc=eranian@google.com \
--cc=fweisbec@gmail.com \
--cc=gorcunov@gmail.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=paulus@samba.org \
--cc=robert.richter@amd.com \
--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
Powered by JetHome