[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHzUATgam8qrma+B-d=9jOHpmmiwNwk-717roNY=ndbJAZefjw@mail.gmail.com>
Date: Thu, 5 Jun 2014 16:36:28 +0300
From: Maria Dimakopoulou <maria.n.dimakopoulou@...il.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Stephane Eranian <eranian@...gle.com>,
linux-kernel@...r.kernel.org, mingo@...e.hu, ak@...ux.intel.com,
jolsa@...hat.com, zheng.z.yan@...el.com
Subject: Re: [PATCH 4/9] perf/x86: add cross-HT counter exclusion infrastructure
This is to indicate that the PMU needs to setup the
shared state struct which is called excl_cntrs.
That struct is allocated for all CPUs at first, and
then half of them are destroyed and their CPUs
made to point to their siblings struct.
So yes. EXCL is really related to HT.
It could be called HT_EXCL.
Will fix in V2.
On Thu, Jun 5, 2014 at 11:04 AM, Peter Zijlstra <peterz@...radead.org> wrote:
> On Wed, Jun 04, 2014 at 11:34:13PM +0200, Stephane Eranian wrote:
>> @@ -499,6 +530,7 @@ do { \
>> */
>> #define PMU_FL_NO_HT_SHARING 0x1 /* no hyper-threading resource sharing */
>> #define PMU_FL_HAS_RSP_1 0x2 /* has 2 equivalent offcore_rsp regs */
>> +#define PMU_FL_EXCL_CNTRS 0x4 /* has exclusive counter requirements */
>
> the EXLC thing is HT specific too, right? How about HT_EXCL or so?
>
>
--
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