lkml.org 
[lkml]   [2015]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 5/5] sched: add two functions for att(det)aching a task to(from) a cfs_rq

* Peter Zijlstra <peterz@infradead.org> wrote:

> On Wed, Sep 02, 2015 at 11:33:15AM +0900, Byungchul Park wrote:
> > +++ b/kernel/sched/fair.c
> > @@ -7920,14 +7920,14 @@ prio_changed_fair(struct rq *rq, struct task_struct *p, int oldprio)
> >
> > static inline bool vruntime_normalized(struct task_struct *p)
> > {
> > struct sched_entity *se = &p->se;
> >
> > /*
> > + * In both TASK_ON_RQ_QUEUED case and TASK_ON_RQ_MIGRATING case,

s/ In both the TASK_ON_RQ_QUEUED and TASK_ON_RQ_MIGRATING cases,

> > + * the dequeue_entity(.flags=0) will already have normalized the
> > + * vruntime.

Thanks,

Ingo


\
 
 \ /
  Last update: 2015-09-02 11:01    [W:0.042 / U:1.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site