lkml.org 
[lkml]   [2015]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/7] perf: Generalize task_function_call()ers
On Fri, Dec 18, 2015 at 05:07:34PM +0200, Alexander Shishkin wrote:
> 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.

Very good, thanks!

Running with that triggers another WARN, I'll have a look at that later
tonight.


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