Re: min_vruntime update when a task is sleeping/migrating

2017-02-23 Thread Peter Zijlstra
On Thu, Feb 23, 2017 at 11:45:26AM +0530, Pavan Kondeti wrote: > Hi Peter, > > The comment and the code around 2nd update_min_vruntime() call in > dequeue_entity() are not matching. If I understand commit b60205c7c558 > ("sched/fair: Fix min_vruntime tracking") correctly, the check is > inverted t

min_vruntime update when a task is sleeping/migrating

2017-02-22 Thread Pavan Kondeti
Hi Peter, The comment and the code around 2nd update_min_vruntime() call in dequeue_entity() are not matching. If I understand commit b60205c7c558 ("sched/fair: Fix min_vruntime tracking") correctly, the check is inverted there. We want to update min_vruntime when a task is sleeping/migrating. is