[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100519072332.GE9618@elte.hu>
Date: Wed, 19 May 2010 09:23:32 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Borislav Petkov <bp@...64.org>, Lin Ming <ming.m.lin@...el.com>,
Greg KH <greg@...ah.com>,
Corey Ashford <cjashfor@...ux.vnet.ibm.com>,
Frederic Weisbecker <fweisbec@...il.com>,
Paul Mundt <lethal@...ux-sh.org>,
"eranian@...il.com" <eranian@...il.com>,
"Gary.Mohr@...l.com" <Gary.Mohr@...l.com>,
"arjan@...ux.intel.com" <arjan@...ux.intel.com>,
"Zhang, Yanmin" <yanmin_zhang@...ux.intel.com>,
Paul Mackerras <paulus@...ba.org>,
"David S. Miller" <davem@...emloft.net>,
Russell King <rmk+kernel@....linux.org.uk>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Will Deacon <will.deacon@....com>,
Maynard Johnson <mpjohn@...ibm.com>,
Carl Love <carll@...ibm.com>,
Kay Sievers <kay.sievers@...y.org>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [RFC][PATCH v2 06/11] perf: core, export pmus via sysfs
* Peter Zijlstra <peterz@...radead.org> wrote:
> On Wed, 2010-05-19 at 09:06 +0200, Borislav Petkov wrote:
> >
> > have we considered the per-cpu granularity of MCEs
> > here and if yes, how to represent that?
>
> Uhm, by opening the MCE event on a particular cpu?
> Remember that sys_perf_event_open() has a cpu target.
>
> The thing is, CPUs are assumed symmetric, thus also all
> MCE events are symmetric, one CPU cannot generate other
> MCE than another. So the only thing that differs is
> where you want to listen for them.
Note, this does not preclude Linux from supporting
assymetric MP, should the need arise: if MP assymetry is
supported then that can (and should) be expressed in the
sysfs topology accordingly - and the moment the assymetric
MP topology is enumerated in sysfs it gives a place for
the different event_source's to live there as well.
Thanks,
Ingo
--
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