[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Yg/UxAv9foTXvlel@bombadil.infradead.org>
Date: Fri, 18 Feb 2022 09:17:56 -0800
From: Luis Chamberlain <mcgrof@...nel.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: yzaikin@...gle.com, sfr@...b.auug.org.au, mhocko@...e.com,
keescook@...omium.org, sujiaxun@...ontech.com,
linux-kernel@...r.kernel.org
Subject: Re: [patch 1/2] mm: move oom_kill sysctls to their own file
On Thu, Feb 17, 2022 at 06:51:48PM -0800, Andrew Morton wrote:
> From: sujiaxun <sujiaxun@...ontech.com>
> Subject: mm: move oom_kill 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 oom_kill sysctls to their own file, mm/oom_kill.c
>
> [sfr@...b.auug.org.au: null-terminate the array]
> Link: https://lkml.kernel.org/r/20220216193202.28838626@canb.auug.org.au
> Link: https://lkml.kernel.org/r/20220215093203.31032-1-sujiaxun@uniontech.com
> Signed-off-by: sujiaxun <sujiaxun@...ontech.com>
> Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
> Cc: Kees Cook <keescook@...omium.org>
> Cc: Iurii Zaikin <yzaikin@...gle.com>
> Cc: Michal Hocko <mhocko@...e.com>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
Queued on sysctl-next.
Luis
Powered by blists - more mailing lists