]> git.baikalelectronics.ru Git - kernel.git/commit
tick/sched: Optimize tick_do_update_jiffies64() further
authorThomas Gleixner <tglx@linutronix.de>
Tue, 17 Nov 2020 13:19:47 +0000 (14:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 09:35:39 +0000 (11:35 +0200)
commit822892616c3a23d3314b5ae4fcd83bb3bd725c17
treee2e3eb0c907f2a48f2121f88400b21c57bc5d2fe
parent296c7bcbef43bac1de1ccef8d1a3276f28ceaf22
tick/sched: Optimize tick_do_update_jiffies64() further

[ Upstream commit 0c6055059b029f89d4a1a663cc65ed6e86841626 ]

Now that it's clear that there is always one tick to account, simplify the
calculations some more.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20201117132006.565663056@linutronix.de
Stable-dep-of: e9523a0d8189 ("tick/common: Align tick period with the HZ tick.")
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/time/tick-sched.c