]> git.baikalelectronics.ru Git - kernel.git/commit
sysctl: add proc_dointvec_ms_jiffies_minmax
authorYuwei Wang <wangyuweihx@gmail.com>
Wed, 29 Jun 2022 08:48:31 +0000 (08:48 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 30 Jun 2022 11:14:35 +0000 (13:14 +0200)
commit54fbf1f4b34fbb95427130ee64acd73eac670886
tree9edc706e72e6d744f193d348ff5fa17c3574c2f6
parentbb53fb3cf649523e534cd2b18f7aaeb701693ff6
sysctl: add proc_dointvec_ms_jiffies_minmax

add proc_dointvec_ms_jiffies_minmax to fit read msecs value to jiffies
with a limited range of values

Signed-off-by: Yuwei Wang <wangyuweihx@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/linux/sysctl.h
kernel/sysctl.c