• Linus Torvalds's avatar
    Merge tag 'sysctl-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux · a05aea98
    Linus Torvalds authored
    Pull sysctl updates from Luis Chamberlain:
     "To help make the move of sysctls out of kernel/sysctl.c not incur a
      size penalty sysctl has been changed to allow us to not require the
      sentinel, the final empty element on the sysctl array. Joel Granados
      has been doing all this work.
    
      In the v6.6 kernel we got the major infrastructure changes required to
      support this. For v6.7 we had all arch/ and drivers/ modified to
      remove the sentinel. For v6.8-rc1 we get a few more updates for fs/
      directory only.
    
      The kernel/ directory is left but we'll save that for v6.9-rc1 as
      those patches are still being reviewed. After that we then can expect
      also the removal of the no longer needed check for procname == NULL.
    
      Let us recap the purpose of this work:
    
       - this helps reduce the overall build time size of the kernel and run
         time memory consumed by the kernel by about ~64 bytes per array
    
       - the extra 64-byte penalty is no longer inncurred now when we move
         sysctls out from kernel/sysctl.c to their own files
    
      Thomas Weißschuh also sent a few cleanups, for v6.9-rc1 we expect to
      see further work by Thomas Weißschuh with the constificatin of the
      struct ctl_table.
    
      Due to Joel Granados's work, and to help bring in new blood, I have
      suggested for him to become a maintainer and he's accepted. So for
      v6.9-rc1 I look forward to seeing him sent you a pull request for
      further sysctl changes. This also removes Iurii Zaikin as a maintainer
      as he has moved on to other projects and has had no time to help at
      all"
    
    * tag 'sysctl-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux:
      sysctl: remove struct ctl_path
      sysctl: delete unused define SYSCTL_PERM_EMPTY_DIR
      coda: Remove the now superfluous sentinel elements from ctl_table array
      sysctl: Remove the now superfluous sentinel elements from ctl_table array
      fs: Remove the now superfluous sentinel elements from ctl_table array
      cachefiles: Remove the now superfluous sentinel element from ctl_table array
      sysclt: Clarify the results of selftest run
      sysctl: Add a selftest for handling empty dirs
      sysctl: Fix out of bounds access for empty sysctl registers
      MAINTAINERS: Add Joel Granados as co-maintainer for proc sysctl
      MAINTAINERS: remove Iurii Zaikin from proc sysctl
    a05aea98
svc.c 17.4 KB