Skip to content

sysctl: remove CONFIG_PROC_SYSCTL, it just mirrors CONFIG_SYSCTL

Oleg Nesterov lkml 2 versions – Applied

Status from this message: [merged mm-nonmm-stable] sysctl-remove-config_proc_sysctl-it-just-mirrors-config_sysctl.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 4 repliesApplied 1/1
  2. v1 RFC1 patch 1 replySuperseded

Patches in v2 All 1 applied

#Subject and filesSizeRepliesApplied
1/1sysctl: remove CONFIG_PROC_SYSCTL, it just mirrors CONFIG_SYSCTLarch/m68k/configs/amcore_defconfig arch/m68k/configs/stmark2_defconfig arch/s390/Kconfig +18 more+32 -362 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH -mm v2 0/1] sysctl: remove CONFIG_PROC_SYSCTL, it just mirrors CONFIG_SYSCTL

Andrew, this patch depends on

sysctl-move-the-cad_pid-entry-from-pid_table-to-kern_reboot_table.patch

in -mm tree, because that patch removes one CONFIG_PROC_SYSCTL too.

If this patch is accepted, I'll send a couple of followup cleanups:

kernel/sysctl.c:
collapse the now-identical CONFIG_SYSCTL nesting

drivers/parport/procfs.c, fs/dcache.c, and fs/file_table.c:
drop the CONFIG_PROC_FS checks, now it is clear that CONFIG_SYSCTL depends on it

Oleg.
---

 arch/m68k/configs/amcore_defconfig                   |  2 +-
 arch/m68k/configs/stmark2_defconfig                  |  2 +-
 arch/s390/Kconfig                                    |  4 ++--
 arch/x86/kernel/cpu/bus_lock.c                       |  2 +-
 fs/proc/Kconfig                                      |  3 +--
 fs/proc/Makefile                                     |  2 +-
 fs/proc/internal.h                                   |  2 +-
 include/linux/utsname.h                              |  2 +-
 init/Kconfig                                         |  3 ---
 kernel/delayacct.c                                   |  2 +-
 kernel/sched/core.c                                  |  8 ++++----
 kernel/sched/topology.c                              |  4 ++--
 kernel/sysctl.c                                      | 12 ++++++------
 kernel/time/jiffies.c                                |  4 ++--
 kernel/utsname_sysctl.c                              |  4 ++--
 lib/Kconfig.debug                                    |  2 +-
 lib/test_sysctl.c                                    |  2 +-
 net/mpls/Kconfig                                     |  2 +-
 tools/testing/selftests/net/config                   |  2 +-
 tools/testing/selftests/net/packetdrill/config       |  2 +-
 tools/testing/selftests/wireguard/qemu/kernel.config |  2 +-
 21 files changed, 32 insertions(+), 36 deletions(-)