summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5b0311e)
We don't need to schedule in/out pinned events on task tick,
now that pinned and flexible groups can be scheduled separately.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
if (ctx)
perf_ctx_adjust_freq(ctx);
if (ctx)
perf_ctx_adjust_freq(ctx);
- cpu_ctx_sched_out(cpuctx, EVENT_ALL);
+ cpu_ctx_sched_out(cpuctx, EVENT_FLEXIBLE);
- task_ctx_sched_out(ctx, EVENT_ALL);
+ task_ctx_sched_out(ctx, EVENT_FLEXIBLE);
rotate_ctx(&cpuctx->ctx);
if (ctx)
rotate_ctx(ctx);
rotate_ctx(&cpuctx->ctx);
if (ctx)
rotate_ctx(ctx);
- cpu_ctx_sched_in(cpuctx, EVENT_ALL);
+ cpu_ctx_sched_in(cpuctx, EVENT_FLEXIBLE);
- task_ctx_sched_in(curr, EVENT_ALL);
+ task_ctx_sched_in(curr, EVENT_FLEXIBLE);
}
static int event_enable_on_exec(struct perf_event *event,
}
static int event_enable_on_exec(struct perf_event *event,