Re: [patch 2/2] mm: move page-writeback sysctls to their own file

From: Luis Chamberlain
Date: Fri Feb 18 2022 - 12:19:02 EST


On Thu, Feb 17, 2022 at 06:51:51PM -0800, Andrew Morton wrote:
> From: zhanglianjie <zhanglianjie@xxxxxxxxxxxxx>
> Subject: mm: move page-writeback sysctls to their own file
>
> kernel/sysctl.c is a kitchen sink where everyone leaves their dirty
> dishes, this makes it very difficult to maintain.
>
> To help with this maintenance let's start by moving sysctls to places
> where they actually belong. The proc sysctl maintainers do not want to
> know what sysctl knobs you wish to add for your own piece of code, we just
> care about the core logic.
>
> So move the page-writeback sysctls to its own file.
>
> [akpm@xxxxxxxxxxxxxxxxxxxx: coding-style cleanups]
> akpm@xxxxxxxxxxxxxxxxxxxx: fix CONFIG_SYSCTL=n warnings]
> Link: https://lkml.kernel.org/r/20220129012955.26594-1-zhanglianjie@xxxxxxxxxxxxx
> Signed-off-by: zhanglianjie <zhanglianjie@xxxxxxxxxxxxx>
> Cc: Kees Cook <keescook@xxxxxxxxxxxx>
> Cc: Iurii Zaikin <yzaikin@xxxxxxxxxx>
> Cc: Luis Chamberlain <mcgrof@xxxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

Queued on sysctl-next.

Luis