Skip to content

sysctl: 5th set of kernel/sysctl cleanups

Luis Chamberlain linux-fsdevel lkml 1 version Applied

Status from this message: [merged] kprobe-move-sysctl_kprobes_optimization-to-kprobesc.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6sysctl: add and use base directory declarer and registration helperfs/proc/proc_sysctl.c include/linux/sysctl.h kernel/sysctl.c+42 -310 repliesApplied
2/6fs: move namespace sysctls and declare fs base directoryfs/Makefile fs/namespace.c fs/sysctls.c +2 more+30 -230 repliesApplied
3/6kernel/sysctl.c: rename sysctl_init() to sysctl_init_bases()arch/arm/mm/alignment.c arch/sh/mm/alignment.c fs/proc/proc_sysctl.c +2 more+6 -60 repliesApplied
4/6printk: fix build warning when CONFIG_PRINTK=ninclude/linux/printk.h kernel/printk/internal.h kernel/printk/printk.c+4 -50 repliesApplied
5/6fs/coredump: move coredump sysctls into its own filefs/coredump.c fs/exec.c include/linux/coredump.h +1 more+67 -660 repliesApplied
6/6kprobe: move sysctl_kprobes_optimization to kprobes.cinclude/linux/kprobes.h kernel/kprobes.c kernel/sysctl.c+26 -220 repliesApplied

Reviews trailers per patch

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

Read the v1 thread

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

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(-)
Signature · 1 line
2.33.0