lkml.org 
[lkml]   [2020]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V2 3/3] perf: Optimize sched_task() in a context switch
On Tue, Dec 01, 2020 at 06:29:03PM +0100, Peter Zijlstra wrote:
> +static void context_sched_task(struct perf_cpu_context *cpuctx,
> + struct perf_event_context *ctx,
> + bool sched_in)
> +{
> + struct pmu *pmu = ctx->pmu;
> +
> + if (cpuctx->sched_cb_dir[sched_in] && pmu->sched_task)
> + pmu->sched_task(ctx, false);
> +}

s/false/sched_in/


\
 
 \ /
  Last update: 2020-12-02 11:28    [W:0.120 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site