summaryrefslogtreecommitdiffstats
path: root/lib/sg_pool.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <frederic@kernel.org>2020-07-17 16:05:49 +0200
committerThomas Gleixner <tglx@linutronix.de>2020-07-17 21:55:24 +0200
commitd4f7dae87096dfe722bf32aa82076ece1063746c (patch)
tree86ec909b0294f69482200f4c691854005a180554 /lib/sg_pool.c
parent1f8a4212dc83f8353843fabf6465fd918372fbbf (diff)
downloadlinux-d4f7dae87096dfe722bf32aa82076ece1063746c.tar.gz
linux-d4f7dae87096dfe722bf32aa82076ece1063746c.tar.bz2
linux-d4f7dae87096dfe722bf32aa82076ece1063746c.zip
timers: Spare timer softirq until next expiry
Now that the core timer infrastructure doesn't depend anymore on periodic base->clk increments, even when the CPU is not in NO_HZ mode, timer softirqs can be skipped until there are timers to expire. Some spurious softirqs can still remain since base->next_expiry doesn't keep track of canceled timers but this still reduces the number of softirqs significantly: ~15 times less for HZ=1000 and ~5 times less for HZ=100. 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-11-frederic@kernel.org
Diffstat (limited to 'lib/sg_pool.c')
0 files changed, 0 insertions, 0 deletions