Messages in this thread | | | Date | Thu, 16 Jun 2016 07:24:53 +0800 | From | Yuyang Du <> | Subject | Re: [PATCH v3] sched: fix first task of a task group is attached twice |
| |
On Thu, Jun 16, 2016 at 09:12:58AM +0200, Vincent Guittot wrote: > > Then, when enqueued, both cfs_rq and task will be decayed to 0, due to > > a large gap between 1 and now, no? > > yes, like it is done currently (but 1ns later) .
Well, currently, cfs_rq will be decayed to 0, but will then add the task. So it turns out the current result is right. Attached twice, but result is right. Correct?
| |