Commit 1a99ae3
sched/fair: Fix the wrong throttled clock time for cfs_rq_clock_task()
Two minor fixes for cfs_rq_clock_task():
1) If cfs_rq is currently being throttled, we need to subtract the cfs
throttled clock time.
2) Make "throttled_clock_task_time" update SMP unrelated. Now UP cases
need it as well.
Signed-off-by: Xunlei Pang <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Juri Lelli <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>1 parent 719af93 commit 1a99ae3
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3688 | 3688 | | |
3689 | 3689 | | |
3690 | 3690 | | |
3691 | | - | |
| 3691 | + | |
3692 | 3692 | | |
3693 | 3693 | | |
3694 | 3694 | | |
| |||
3826 | 3826 | | |
3827 | 3827 | | |
3828 | 3828 | | |
3829 | | - | |
3830 | 3829 | | |
3831 | 3830 | | |
3832 | 3831 | | |
3833 | 3832 | | |
3834 | 3833 | | |
3835 | | - | |
3836 | 3834 | | |
3837 | 3835 | | |
3838 | 3836 | | |
| |||
0 commit comments