[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.11.1602221259020.2477@nanos>
Date: Mon, 22 Feb 2016 12:59:17 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: Peter Zijlstra <peterz@...radead.org>
cc: LKML <linux-kernel@...r.kernel.org>, x86@...nel.org,
Borislav Petkov <bp@...en8.de>,
Stephane Eranian <eranian@...gle.com>,
Harish Chegondi <harish.chegondi@...el.com>,
Kan Liang <kan.liang@...el.com>,
Andi Kleen <andi.kleen@...el.com>,
Jacob Pan <jacob.jun.pan@...ux.intel.com>
Subject: Re: [patch V2 13/28] x86/perf/intel_uncore: Clear all hardware state
on exit
On Mon, 22 Feb 2016, Peter Zijlstra wrote:
> On Mon, Feb 22, 2016 at 11:06:52AM -0000, Thomas Gleixner wrote:
> > +static void __init uncore_exit_boxes(void *dummy)
> > +{
> > + struct intel_uncore_type **types = uncore_msr_uncores;
> > +
> > + while (*types)
> > + __uncore_exit_boxes(*types++, smp_processor_id());
>
> for (types = uncore_msr_uncores; *types; types++)
> __uncore_exit_boxes(*types, smp_processor_id());
>
> > +}
>
> You flipped to for() loops in the other places, figures this one should
> match?
Yes. Forgot about that one.
Powered by blists - more mailing lists