[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1289278872.2430.17.camel@minggr.sh.intel.com>
Date: Tue, 09 Nov 2010 13:01:12 +0800
From: Lin Ming <ming.m.lin@...el.com>
To: Andi Kleen <andi@...stfloor.org>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Ingo Molnar <mingo@...hat.com>,
Frederic Weisbecker <fweisbec@...il.com>,
Arjan van de Ven <arjan@...radead.org>,
Stephane Eranian <eranian@...gle.com>,
"robert.richter@....com" <robert.richter@....com>,
Cyrill Gorcunov <gorcunov@...il.com>,
"paulus@...ba.org" <paulus@...ba.org>,
Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>,
Corey Ashford <cjashfor@...ux.vnet.ibm.com>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [DRAFT PATCH 2/3] perf: Implement Nehalem uncore pmu
On Mon, 2010-11-08 at 20:20 +0800, Andi Kleen wrote:
> Lin Ming <ming.m.lin@...el.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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists