diff options
author | Song Muchun <[email protected]> | 2018-10-14 19:26:12 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-10-16 09:36:01 +0200 |
commit | 9845c49cc9bbb317a0bc9e9cf78d8e09d54c9af0 (patch) | |
tree | 60ad2ff322aa6fef86deffc68288014f557524ad /drivers/fpga/fpga-bridge.c | |
parent | baa9be4ffb55876923dc9716abc0a448e510ba30 (diff) |
sched/fair: Fix the min_vruntime update logic in dequeue_entity()
The comment and the code around the update_min_vruntime() call in
dequeue_entity() are not in agreement.
From commit:
b60205c7c558 ("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: b60205c7c558 ("sched/fair: Fix min_vruntime tracking")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions