mbox series

[0/6] sysctl: 5th set of kernel/sysctl cleanups

Message ID 20211129211943.640266-1-mcgrof@kernel.org (mailing list archive)
Headers show
Series sysctl: 5th set of kernel/sysctl cleanups | expand

Message

Luis Chamberlain Nov. 29, 2021, 9:19 p.m. UTC
This is my 5th set of sysctl cleanups for kernel/sysctl. In this
patch series we start addressing base directories, and so we start
with the "fs" sysctls. The end goal is we end up completely moving
all "fs" sysctl knobs out from kernel/sysctl.

My queue of patches is done with this patch series, and so help from
others on trimming down kernel/sysctl.c further would be greatly
appreciated now that we have a path to move the rest of the stuff out.

Luis Chamberlain (3):
  sysctl: add and use base directory declarer and registration helper
  fs: move namespace sysctls and declare fs base directory
  kernel/sysctl.c: rename sysctl_init() to sysctl_init_bases()

Xiaoming Ni (3):
  printk: fix build warning when CONFIG_PRINTK=n
  fs/coredump: move coredump sysctls into its own file
  kprobe: move sysctl_kprobes_optimization to kprobes.c

 arch/arm/mm/alignment.c  |  2 +-
 arch/sh/mm/alignment.c   |  2 +-
 fs/Makefile              |  3 +-
 fs/coredump.c            | 66 ++++++++++++++++++++++++++++++++++++---
 fs/exec.c                | 55 ---------------------------------
 fs/namespace.c           | 24 +++++++++++++-
 fs/proc/proc_sysctl.c    | 13 ++++++--
 fs/sysctls.c             |  9 +++---
 include/linux/coredump.h | 10 +++---
 include/linux/kprobes.h  |  6 ----
 include/linux/mount.h    |  3 --
 include/linux/printk.h   |  4 ---
 include/linux/sysctl.h   | 25 ++++++++++++++-
 kernel/kprobes.c         | 30 +++++++++++++++---
 kernel/printk/internal.h |  2 ++
 kernel/printk/printk.c   |  3 +-
 kernel/sysctl.c          | 67 ++++++----------------------------------
 17 files changed, 173 insertions(+), 151 deletions(-)