diff options
author | Wen Yang <[email protected]> | 2018-02-06 09:55:48 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-02-13 11:44:40 +0100 |
commit | 6fe0ce1eb04f99a1eb1eb6e7f775666966cf6c80 (patch) | |
tree | 6f6ba6d7326b11f5fee89ca9bb0254bb2c3adcab /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6a546c7e69ff0b69581377cc70d7e8a601b98fce (diff) |
sched/deadline: Make update_curr_dl() more accurate
rq->clock_task may be updated between the two calls of
rq_clock_task() in update_curr_dl(). Calling rq_clock_task() only
once makes it more accurate and efficient, taking update_curr() as
reference.
Suggested-by: Peter Zijlstra <[email protected]>
Signed-off-by: Wen Yang <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Jiang Biao <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions