mbox series

[0/9] sysctl: 4th set of kernel/sysctl cleanups

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

Message

Luis Chamberlain Nov. 29, 2021, 8:55 p.m. UTC
This is the 4th set of kernel/sysctl.c cleanups. These are being
pushed out for review for the first time. This is trying to move all
filesystem sysctl knobs out from kernel/sysctl.c to where they are
actually being used.

This is slimming down the fs uses of kernel/sysctl.c to the point
that the next step is to just get rid of the fs base directory for it
and move that elsehwere, so that next patch series starts dealing with
that to demo how we can end up cleaning up a full base directory from
kernel/sysctl.c, one at a time.

Luis Chamberlain (9):
  fs: move inode sysctls to its own file
  fs: move fs stat sysctls to file_table.c
  fs: move dcache sysctls to its own file
  sysctl: move maxolduid as a sysctl specific const
  fs: move shared sysctls to fs/sysctls.c
  fs: move locking sysctls where they are used
  fs: move namei sysctls to its own file
  fs: move fs/exec.c sysctls into its own file
  fs: move pipe sysctls to is own file

 fs/Makefile               |   1 +
 fs/dcache.c               |  32 ++++-
 fs/exec.c                 |  90 ++++++++++++++
 fs/file_table.c           |  47 +++++--
 fs/inode.c                |  31 ++++-
 fs/locks.c                |  34 ++++-
 fs/namei.c                |  58 ++++++++-
 fs/pipe.c                 |  64 +++++++++-
 fs/proc/proc_sysctl.c     |   2 +-
 fs/sysctls.c              |  38 ++++++
 include/linux/dcache.h    |  10 --
 include/linux/fs.h        |  13 --
 include/linux/pipe_fs_i.h |   4 -
 include/linux/sysctl.h    |   9 ++
 kernel/sysctl.c           | 255 ++------------------------------------
 15 files changed, 390 insertions(+), 298 deletions(-)
 create mode 100644 fs/sysctls.c