aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2020-07-17 16:05:45 +0200
committerThomas Gleixner <[email protected]>2020-07-17 21:55:22 +0200
commit001ec1b3925da0d51847c23fc0aa4129282db526 (patch)
tree0ca510af92153bc4788f719e657e3532eed825dd /lib/mpi/mpi-sub-ui.c
parent4468897211628865ee2392acb5ad281f74176f63 (diff)
timers: Optimize _next_timer_interrupt() level iteration
If a level has a timer that expires before reaching the next level, there is no need to iterate further. The next level is reached when the 3 lower bits of the current level are cleared. If the next event happens before/during that, the next levels won't provide an earlier expiration. Signed-off-by: Frederic Weisbecker <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Juri Lelli <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions