Skip to content

sysctl: 4th set of kernel/sysctl cleanups

Luis Chamberlain linux-fsdevel lkml 1 version Applied

Status from this message: [merged] fs-move-pipe-sysctls-to-is-own-file.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 4 repliesApplied 9/9

Patches in v1 All 9 applied

#Subject and filesSizeRepliesApplied
1/9fs: move inode sysctls to its own filefs/inode.c include/linux/fs.h kernel/sysctl.c+28 -200 repliesApplied
2/9fs: move fs stat sysctls to file_table.cfs/file_table.c include/linux/fs.h kernel/sysctl.c+39 -360 repliesApplied
3/9fs: move dcache sysctls to its own filefs/dcache.c include/linux/dcache.h include/linux/fs.h +1 more+29 -220 repliesApplied
4/9sysctl: move maxolduid as a sysctl specific constfs/proc/proc_sysctl.c include/linux/sysctl.h kernel/sysctl.c+8 -94 repliesApplied
5/9fs: move shared sysctls to fs/sysctls.cfs/Makefile fs/sysctls.c kernel/sysctl.c+39 -180 repliesApplied
6/9fs: move locking sysctls where they are usedfs/locks.c include/linux/fs.h kernel/sysctl.c+32 -260 repliesApplied
7/9fs: move namei sysctls to its own filefs/namei.c include/linux/fs.h kernel/sysctl.c+54 -410 repliesApplied
8/9fs: move fs/exec.c sysctls into its own filefs/exec.c kernel/sysctl.c+90 -660 repliesApplied
9/9fs: move pipe sysctls to is own filefs/pipe.c include/linux/pipe_fs_i.h include/linux/sysctl.h +1 more+73 -620 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/9] sysctl: 4th set of kernel/sysctl cleanups

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