summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/genpd.py
diff options
context:
space:
mode:
authorFrederic Weisbecker <frederic@kernel.org>2020-07-17 17:05:45 +0300
committerThomas Gleixner <tglx@linutronix.de>2020-07-17 22:55:22 +0300
commit001ec1b3925da0d51847c23fc0aa4129282db526 (patch)
tree0ca510af92153bc4788f719e657e3532eed825dd /scripts/gdb/linux/genpd.py
parent4468897211628865ee2392acb5ad281f74176f63 (diff)
downloadlinux-001ec1b3925da0d51847c23fc0aa4129282db526.tar.xz
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 <frederic@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Juri Lelli <juri.lelli@redhat.com> Link: https://lkml.kernel.org/r/20200717140551.29076-7-frederic@kernel.org
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions