lkml.org 
[lkml]   [2015]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V6 3/6] perf, x86: large PEBS interrupt threshold
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 ordered wrong.

> + (hwc->flags & PERF_X86_EVENT_AUTO_RELOAD)) {
> + threshold = ds->pebs_absolute_maximum -
> + x86_pmu.max_pebs_events * x86_pmu.pebs_record_size;
> + } else {
> + threshold = ds->pebs_buffer_base + x86_pmu.pebs_record_size;
> + }
> +


\
 
 \ /
  Last update: 2015-04-16 21:01    [W:0.128 / U:3.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site