Re: [PATCH v3] sched: fix first task of a task group is attached twice
From: Yuyang Du
Date: Thu Jun 16 2016 - 03:21:53 EST
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?