mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 18:12:48 +00:00
The comment and the code around the update_min_vruntime() call in dequeue_entity() are not in agreement. From commit:b60205c7c5("sched/fair: Fix min_vruntime tracking") I think that we want to update min_vruntime when a task is sleeping/migrating. So, the check is inverted there - fix it. Signed-off-by: Song Muchun <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Fixes:b60205c7c5("sched/fair: Fix min_vruntime tracking") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>