lkml.org 
[lkml]   [2015]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/7] perf: Generalize task_function_call()ers
Date
Peter Zijlstra <peterz@infradead.org> writes:

> @@ -2774,9 +2696,6 @@ static void perf_event_context_sched_in(
> */
> cpu_ctx_sched_out(cpuctx, EVENT_FLEXIBLE);
>
> - if (ctx->nr_events)
> - cpuctx->task_ctx = ctx;
> -
> perf_event_sched_in(cpuctx, cpuctx->task_ctx, task);

This then should probably become

perf_event_sched_in(cpuctx, ctx, task);

otherwise task contexts just don't get scheduled any more.

Regards,
--
Alex


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