[RFC PATCH 0/1] sysctl: remove CONFIG_SYSCTL, it just mirrors CONFIG_PROC_SYSCTL

From: Oleg Nesterov

Date: Wed Jul 22 2026 - 08:46:49 EST


Andrew, Eric, et al,

To me it is a bit annoying/confusing to see both CONFIG_PROC_SYSCTL and
CONFIG_SYSCTL in the source code (they are the same thing), but...

Does it make any sense to try to suggest this patch for -mm tree?

It is hopefully trivial (generated by 2 perl one-liners) but touches 170 files.
So far I don't even CC maintainers, the output of get_maintainer.pl is huge.

Alternatively, we could kill CONFIG_PROC_SYSCTL in favour of CONFIG_SYSCTL.
This would result in a much smaller patch, but I am not sure if it is "safe"
because CONFIG_PROC_SYSCTL is user-visible in that it has a prompt in
fs/proc/Kconfig. But perhaps this is fine?

(either way we can make a couple more minor cleanups if we kill one of them).

Oleg.