[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140520132712.GG11096@twins.programming.kicks-ass.net>
Date: Tue, 20 May 2014 15:27:12 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Vince Weaver <vincent.weaver@...ne.edu>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Will Deacon <will.deacon@....com>,
Paul Mackerras <paulus@...ba.org>,
Ingo Molnar <mingo@...hat.com>
Subject: Re: [PATCH 1/3] perf: disable sampled events if no PMU interrupt
On Tue, May 20, 2014 at 09:19:27AM -0400, Vince Weaver wrote:
> On Tue, 20 May 2014, Peter Zijlstra wrote:
>
> > > +#define PERF_PMU_NO_INTERRUPT 1
> >
> > Are you ok with me making that:
> >
> > #define PERF_PMU_CAP_NO_INTERRUPT 0x01
>
> sounds good. All my recent fuzzing has made me paranoid enough to
> double check that yes indeed we don't need to slap an ULL on the end of
> that.
Thanks!
> Though I hope 32-bits is enough for this, I feel like we've just added the
> feature and suddenly all kinds of uses are coming out of the woodwork.
If we run out of bits we can always grow this thing, its not exposed to
userspace so no A[BP]I issues.
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists