[GIT PULL] sysctl fixes for v7.3-rc6

From: Joel Granados

Date: Thu Oct 01 2026 - 07:39:03 EST


Linus:

Missed this in the tag: tested with sysctl selftests on x86_64 as well
as linux-next (for a week).

Best

The following changes since commit 72d3fcf802c45d00b300f25b848a93c3a2bd7c7e:

Linux 7.3-rc5 (2026-09-27 13:55:01 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl.git tags/sysctl-7.03-fixes-rc6

for you to fetch changes up to fdd6553e1e53b0421d89c7469c8a36d2eadb1115:

time/jiffies: Saturate in mult_hz() instead of wrapping (2026-09-29 10:00:40 +0200)

----------------------------------------------------------------
Summary

* Fix sysctl jiffies conversions errors introduced in 2dc164a48e6f ("sysctl:
Create converter functions with two new macros")

- Ensure that mult_hz does *not* wrap
- Ensure we pass just the magnitude for the negative branch in
proc_int_k2u_conv_kop

----------------------------------------------------------------
Zhan Xusheng (2):
sysctl: Negate before converting in the int read path
time/jiffies: Saturate in mult_hz() instead of wrapping

kernel/sysctl.c | 2 +-
kernel/time/jiffies.c | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)

Attachment: signature.asc
Description: PGP signature