Re: [PATCH V6 3/6] perf, x86: large PEBS interrupt threshold
From: Peter Zijlstra
Date: Wed Apr 15 2015 - 14:05:29 EST
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 +
> - thresh * x86_pmu.pebs_record_size;
> + if (x86_pmu.intel_cap.pebs_format < 1)
> + ds->pebs_interrupt_threshold = ds->pebs_buffer_base +
> + x86_pmu.pebs_record_size;
>
> return 0;
> }
I can't seem to figure out what this is about.. help?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/