diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 5004dff91850..fe1165b226a1 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -1615,6 +1615,7 @@ static void __sched_fork(struct task_struct *p) | |||
1615 | p->se.exec_start = 0; | 1615 | p->se.exec_start = 0; |
1616 | p->se.sum_exec_runtime = 0; | 1616 | p->se.sum_exec_runtime = 0; |
1617 | p->se.prev_sum_exec_runtime = 0; | 1617 | p->se.prev_sum_exec_runtime = 0; |
1618 | p->se.last_min_vruntime = 0; | ||
1618 | 1619 | ||
1619 | #ifdef CONFIG_SCHEDSTATS | 1620 | #ifdef CONFIG_SCHEDSTATS |
1620 | p->se.wait_start = 0; | 1621 | p->se.wait_start = 0; |
@@ -6495,6 +6496,7 @@ static inline void init_cfs_rq(struct cfs_rq *cfs_rq, struct rq *rq) | |||
6495 | #ifdef CONFIG_FAIR_GROUP_SCHED | 6496 | #ifdef CONFIG_FAIR_GROUP_SCHED |
6496 | cfs_rq->rq = rq; | 6497 | cfs_rq->rq = rq; |
6497 | #endif | 6498 | #endif |
6499 | cfs_rq->min_vruntime = (u64)(-(1LL << 20)); | ||
6498 | } | 6500 | } |
6499 | 6501 | ||
6500 | void __init sched_init(void) | 6502 | void __init sched_init(void) |