aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorWen Yang <[email protected]>2018-02-05 11:18:41 +0800
committerIngo Molnar <[email protected]>2018-02-06 10:20:34 +0100
commite7ad203166fff89b1d8253faf68fbe6966bf7181 (patch)
tree80a3b9f71dfac9f1a4d1d0ed7399e663e7c1b403 /net/switchdev/switchdev.c
parent364f56653708ba8bcdefd4f0da2a42904baa8eeb (diff)
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 <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Jiang Biao <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Peter Zijlstra <[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 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions