On Wed, May 25, 2016 at 05:01:11PM +0200, Vincent Guittot wrote: > The cfs_rq->avg.last_update_time is initialize to 0 with the main effect > that the 1st sched_entity that will be attached, will keep its > last_update_time set to 0 and will attached once again during the > enqueue. > Initialize cfs_rq->avg.last_update_time to 1 instead. Actually, the first time (attach_task_cfs_rq()) is called even way before init_entity_runnable_average(), no?
- Re: [PATCH v2] sched: fix first task of a task group is a... Yuyang Du
- Re: [PATCH v2] sched: fix first task of a task group... Vincent Guittot
- Re: [PATCH v2] sched: fix first task of a task g... Yuyang Du
- Re: [PATCH v2] sched: fix first task of a ta... Vincent Guittot
- Re: [PATCH v2] sched: fix first task of a task group... Dietmar Eggemann
- Re: [PATCH v2] sched: fix first task of a task g... Vincent Guittot
- Re: [PATCH v2] sched: fix first task of a ta... Dietmar Eggemann
- Re: [PATCH v2] sched: fix first task of ... Vincent Guittot
- [PATCH v3] sched: fix first task of... Vincent Guittot
- Re: [PATCH v2] sched: fix first task of ... Vincent Guittot