[RFC GIT PULL] timer subsystem fix/improvement

From: Ingo Molnar

Date: Sun Mar 01 2026 - 04:18:18 EST


Linus,

Please pull the latest timers/urgent Git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-2026-03-01

for you to fetch changes up to b777b5e09eabeefc6ba80f4296366a4742701103:

# MERGE NOTE: marked as RFC, as it's not a regression fix.

Improve the inlining of jiffies_to_msecs() and jiffies_to_usecs(),
for the common HZ=100, 250 or 1000 cases, only inlining them
for odd HZ values like HZ=300.

The inlining overhead showed up in performance tests of the TCP code.

(Marked as an RFC pull request, as it's not a regression.)

Thanks,

Ingo

------------------>
Eric Dumazet (1):
time/jiffies: Inline jiffies_to_msecs() and jiffies_to_usecs()


include/linux/jiffies.h | 40 ++++++++++++++++++++++++++++++++++++++--
kernel/time/time.c | 19 +++++++------------
2 files changed, 45 insertions(+), 14 deletions(-)