Re: [PATCH 2/7] perf: Generalize task_function_call()ers

From: Alexander Shishkin
Date: Fri Dec 18 2015 - 10:09:48 EST


Peter Zijlstra <peterz@xxxxxxxxxxxxx> 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
--
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/