lkml.org 
[lkml]   [2023]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] sysctl: Remove register_sysctl_table from sources
Date
This is part of the general push to deprecate register_sysctl_paths and
register_sysctl_table. This patchset completely removes register_sysctl_table
and replaces it with register_sysctl effectively transitioning 5 base paths
("kernel", "vm", "fs", "dev" and "debug") to the new call. Besides removing the
actuall function, I also removed it from the checks done in check-sysctl-docs.

Testing for this change was done in the same way as with previous sysctl
replacement patches: I made sure that the result of `find /proc/sys/ | sha1sum`
was the same before and after the patchset.

Have pushed this through 0-day. Waiting on results..

Feedback greatly appreciated.

Best
Joel

Joel Granados (2):
sysctl: Refactor base paths registrations
sysctl: Remove register_sysctl_table

fs/proc/proc_sysctl.c | 70 ---------------------------------------
fs/sysctls.c | 9 +++--
include/linux/sysctl.h | 23 -------------
kernel/sysctl.c | 13 +++-----
scripts/check-sysctl-docs | 10 ------
5 files changed, 10 insertions(+), 115 deletions(-)

--
2.30.2

\
 
 \ /
  Last update: 2023-05-18 18:08    [W:0.068 / U:1.976 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site