linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/8] sysctl: 3rd set of kernel/sysctl cleanups
@ 2021-11-24 23:14 Luis Chamberlain
  2021-11-24 23:14 ` [PATCH v2 1/8] firmware_loader: move firmware sysctl to its own files Luis Chamberlain
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Luis Chamberlain @ 2021-11-24 23:14 UTC (permalink / raw)
  To: akpm, keescook, yzaikin, nixiaoming, ebiederm, steve, gregkh,
	rafael, tytso, viro, pmladek, senozhatsky, rostedt, john.ogness,
	dgilbert, jejb, martin.petersen, mcgrof, mcgrof, linux-scsi
  Cc: linux-fsdevel, linux-kernel

This is the third set of patches to help address cleaning the kitchen
seink in kernel/sysctl.c and to move sysctls away to where they are
actually implemented / used.

Note that Andrew Morton is staging these to get visibility into changes
in the various trees which might conflict. He already grabbed the
first two sets of patch sets, and so I think these changes are probably
best to be eventually considered to be merged through his tree, to
avoid conflicts.

On this v2 series since last year's v1 series has these changes:

  * extended commit log to clarify that in these cases, while we
    are not producing less lines of code we justify the move
    because otherwise the file kernel/sysctl.c gets way out of hand
    to maintain.

  * addressed 0-day complaints

  * the firmware loader changes requested by Greg KH were adopted

  * added the new sysctl mount point helper as suggested by
    Eric W. Biederman

Luis Chamberlain (3):
  sysctl: add helper to register a sysctl mount point
  fs: move binfmt_misc sysctl to its own file
  sysctl: share unsigned long const values

Xiaoming Ni (5):
  firmware_loader: move firmware sysctl to its own files
  random: move the random sysctl declarations to its own file
  printk: move printk sysctl to printk/sysctl.c
  scsi/sg: move sg-big-buff sysctl to scsi/sg.c
  stackleak: move stack_erasing sysctl to stackleak.c

 drivers/base/firmware_loader/fallback.c       |   7 +-
 drivers/base/firmware_loader/fallback.h       |  11 ++
 drivers/base/firmware_loader/fallback_table.c |  21 ++-
 drivers/char/random.c                         |  14 +-
 drivers/scsi/sg.c                             |  35 ++++-
 fs/binfmt_misc.c                              |   6 +-
 fs/proc/proc_sysctl.c                         |  16 +++
 include/linux/stackleak.h                     |   5 -
 include/linux/sysctl.h                        |  15 ++-
 include/scsi/sg.h                             |   4 -
 kernel/printk/Makefile                        |   5 +-
 kernel/printk/internal.h                      |   6 +
 kernel/printk/printk.c                        |   1 +
 kernel/printk/sysctl.c                        |  85 ++++++++++++
 kernel/stackleak.c                            |  26 +++-
 kernel/sysctl.c                               | 122 +-----------------
 16 files changed, 239 insertions(+), 140 deletions(-)
 create mode 100644 kernel/printk/sysctl.c

-- 
2.33.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-11-29 22:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-24 23:14 [PATCH v2 0/8] sysctl: 3rd set of kernel/sysctl cleanups Luis Chamberlain
2021-11-24 23:14 ` [PATCH v2 1/8] firmware_loader: move firmware sysctl to its own files Luis Chamberlain
2021-11-24 23:14 ` [PATCH v2 2/8] random: move the random sysctl declarations to its own file Luis Chamberlain
2021-11-24 23:14 ` [PATCH v2 3/8] sysctl: add helper to register a sysctl mount point Luis Chamberlain
2021-11-24 23:14 ` [PATCH v2 4/8] fs: move binfmt_misc sysctl to its own file Luis Chamberlain
2021-11-24 23:14 ` [PATCH v2 5/8] printk: move printk sysctl to printk/sysctl.c Luis Chamberlain
2021-11-26 12:51   ` Petr Mladek
2021-11-29 20:48     ` Luis Chamberlain
2021-11-24 23:14 ` [PATCH v2 6/8] scsi/sg: move sg-big-buff sysctl to scsi/sg.c Luis Chamberlain
2021-11-24 23:14 ` [PATCH v2 7/8] stackleak: move stack_erasing sysctl to stackleak.c Luis Chamberlain
2021-11-24 23:14 ` [PATCH v2 8/8] sysctl: share unsigned long const values Luis Chamberlain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).