On Thu, Apr 09, 2015 at 12:37:43PM -0400, Kan Liang wrote:
> + /*
> + * When the event is constrained enough we can use a larger
> + * threshold and run the event with less frequent PMI.
> + */
> + if (0 && /* disable this temporarily */
This is a good hint your patches are
On Wed, Apr 15, 2015 at 06:35:48PM +, Liang, Kan wrote:
>
> >
> > On Thu, Apr 09, 2015 at 12:37:43PM -0400, Kan Liang wrote:
> > > @@ -280,8 +280,9 @@ static int alloc_pebs_buffer(int cpu)
> > > ds->pebs_absolute_maximum = ds->pebs_buffer_base +
> > > max * x86_pmu.pebs_record_siz
>
> On Thu, Apr 09, 2015 at 12:37:43PM -0400, Kan Liang wrote:
> > @@ -280,8 +280,9 @@ static int alloc_pebs_buffer(int cpu)
> > ds->pebs_absolute_maximum = ds->pebs_buffer_base +
> > max * x86_pmu.pebs_record_size;
> >
> > - ds->pebs_interrupt_threshold = ds->pebs_buffer_base +
On Wed, Apr 15, 2015 at 05:48:39PM +, Liang, Kan wrote:
> > > +++ b/arch/x86/kernel/cpu/perf_event_intel.c
> > > @@ -2306,7 +2306,9 @@ static int intel_pmu_hw_config(struct perf_event
> > > *event)
> > > return ret;
> > >
> > > if (event->attr.precise_ip) {
> > > - if (!eve
On Thu, Apr 09, 2015 at 12:37:43PM -0400, Kan Liang wrote:
> @@ -280,8 +280,9 @@ static int alloc_pebs_buffer(int cpu)
> ds->pebs_absolute_maximum = ds->pebs_buffer_base +
> max * x86_pmu.pebs_record_size;
>
> - ds->pebs_interrupt_threshold = ds->pebs_buffer_base +
> -
> -Original Message-
> From: Peter Zijlstra [mailto:pet...@infradead.org]
> Sent: Wednesday, April 15, 2015 1:15 PM
> To: Liang, Kan
> Cc: linux-kernel@vger.kernel.org; mi...@kernel.org;
> a...@infradead.org; eran...@google.com; a...@firstfloor.org
> Subject: Re: [PA
On Thu, Apr 09, 2015 at 12:37:43PM -0400, Kan Liang wrote:
> This patch also make AUTO_RELOAD conditional on large PEBS. Auto reload
> only be enabled when fix period and large PEBS.
What's a large PEBS?
> +++ b/arch/x86/kernel/cpu/perf_event.h
> @@ -87,6 +87,17 @@ struct amd_nb {
> #define MAX_
7 matches
Mail list logo