diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 3226cc132e9f..8d43347a0c0d 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -1977,6 +1977,7 @@ void set_task_cpu(struct task_struct *p, unsigned int new_cpu) | |||
1977 | if (task_hot(p, old_rq->clock, NULL)) | 1977 | if (task_hot(p, old_rq->clock, NULL)) |
1978 | schedstat_inc(p, se.nr_forced2_migrations); | 1978 | schedstat_inc(p, se.nr_forced2_migrations); |
1979 | #endif | 1979 | #endif |
1980 | perf_counter_task_migration(p, new_cpu); | ||
1980 | } | 1981 | } |
1981 | p->se.vruntime -= old_cfsrq->min_vruntime - | 1982 | p->se.vruntime -= old_cfsrq->min_vruntime - |
1982 | new_cfsrq->min_vruntime; | 1983 | new_cfsrq->min_vruntime; |