summaryrefslogtreecommitdiffstats
path: root/Documentation/power
diff options
context:
space:
mode:
authorWen Yang <wen.yang99@zte.com.cn>2018-02-05 11:18:41 +0800
committerIngo Molnar <mingo@kernel.org>2018-02-06 10:20:34 +0100
commite7ad203166fff89b1d8253faf68fbe6966bf7181 (patch)
tree80a3b9f71dfac9f1a4d1d0ed7399e663e7c1b403 /Documentation/power
parent364f56653708ba8bcdefd4f0da2a42904baa8eeb (diff)
downloadlinux-e7ad203166fff89b1d8253faf68fbe6966bf7181.tar.gz
linux-e7ad203166fff89b1d8253faf68fbe6966bf7181.tar.bz2
linux-e7ad203166fff89b1d8253faf68fbe6966bf7181.zip
sched/rt: Make update_curr_rt() more accurate
rq->clock_task may be updated between the two calls of rq_clock_task() in update_curr_rt(). Calling rq_clock_task() only once makes it more accurate and efficient, taking update_curr() as reference. 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: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: zhong.weidong@zte.com.cn Link: http://lkml.kernel.org/r/1517800721-42092-1-git-send-email-wen.yang99@zte.com.cn Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Documentation/power')
0 files changed, 0 insertions, 0 deletions