diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2010-09-06 10:32:21 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-09-09 14:46:32 -0400 |
commit | b5ab4cd563e7ab49b27957704112a8ecade54e1f (patch) | |
tree | a5d1194e001a1203c679e1f0014d3b40118a725d /kernel/sched.c | |
parent | b28ab83c595e767f2028276b7398d17f2253cec0 (diff) |
perf: Per cpu-context rotation timer
Give each cpu-context its own timer so that it is a self contained
entity, this eases the way for per-pmu-per-cpu contexts as well as
provides the basic infrastructure to allow different rotation
times per pmu.
Things to look at:
- folding the tick and these TICK_NSEC timers
- separate task context rotation
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: paulus <paulus@samba.org>
Cc: stephane eranian <eranian@googlemail.com>
Cc: Robert Richter <robert.richter@amd.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Lin Ming <ming.m.lin@intel.com>
Cc: Yanmin <yanmin_zhang@linux.intel.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 09b574e7f4df..66a02ba83c01 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -3578,8 +3578,6 @@ void scheduler_tick(void) | |||
3578 | curr->sched_class->task_tick(rq, curr, 0); | 3578 | curr->sched_class->task_tick(rq, curr, 0); |
3579 | raw_spin_unlock(&rq->lock); | 3579 | raw_spin_unlock(&rq->lock); |
3580 | 3580 | ||
3581 | perf_event_task_tick(curr); | ||
3582 | |||
3583 | #ifdef CONFIG_SMP | 3581 | #ifdef CONFIG_SMP |
3584 | rq->idle_at_tick = idle_cpu(cpu); | 3582 | rq->idle_at_tick = idle_cpu(cpu); |
3585 | trigger_load_balance(rq, cpu); | 3583 | trigger_load_balance(rq, cpu); |