diff options
| author | Wen Yang <[email protected]> | 2018-02-05 03:18:41 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-02-06 09:20:34 +0000 |
| commit | e7ad203166fff89b1d8253faf68fbe6966bf7181 (patch) | |
| tree | 80a3b9f71dfac9f1a4d1d0ed7399e663e7c1b403 /fs/jbd2/commit.c | |
| parent | sched/rt: Up the root domain ref count when passing it around via IPIs (diff) | |
| download | kernel-e7ad203166fff89b1d8253faf68fbe6966bf7181.tar.gz kernel-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 <[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 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
