Messages in this thread | | | Date | Tue, 8 Sep 2015 13:22:44 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair() |
| |
On Tue, Sep 08, 2015 at 06:17:49PM +0900, Byungchul Park wrote: > even in this case, as i already said, place_entity() should be performed > after restoring a normalized value to the meaningful original value.
> IMHO, it is wrong that se->vruntime is assigned with a bonused value > unconditionally. when the task was detached, place_entity() made the > entity have a bonused vruntime if it was eligible. if it was not > eligible e.g. it had a too big vruntime before going to sleep, then > we should not assign a bonused vruntime which is originally intended by > place_entity().
Correct.
| |