summaryrefslogtreecommitdiffstats
path: root/kernel/sched/rt.c
diff options
context:
space:
mode:
authorWen Yang <wen.yang99@zte.com.cn>2018-02-06 02:55:48 +0100
committerIngo Molnar <mingo@kernel.org>2018-02-13 11:44:40 +0100
commit6fe0ce1eb04f99a1eb1eb6e7f775666966cf6c80 (patch)
tree6f6ba6d7326b11f5fee89ca9bb0254bb2c3adcab /kernel/sched/rt.c
parentmembarrier-sync-core: Document architecture support (diff)
downloadlinux-6fe0ce1eb04f99a1eb1eb6e7f775666966cf6c80.tar.xz
linux-6fe0ce1eb04f99a1eb1eb6e7f775666966cf6c80.zip
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 <peterz@infradead.org> Signed-off-by: Wen Yang <wen.yang99@zte.com.cn> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Jiang Biao <jiang.biao2@zte.com.cn> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: zhong.weidong@zte.com.cn Link: http://lkml.kernel.org/r/1517882148-44599-1-git-send-email-wen.yang99@zte.com.cn Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/rt.c')
0 files changed, 0 insertions, 0 deletions