| Date | Wed, 27 Jul 2022 10:31:37 -0700 | From | Luis Chamberlain <> | Subject | Re: [PATCH 5.15 040/201] sysctl: move some boundary constants from sysctl.c to sysctl_vals |
| |
On Wed, Jul 27, 2022 at 06:09:04PM +0200, Greg Kroah-Hartman wrote: > From: Xiaoming Ni <nixiaoming@huawei.com> > > [ Upstream commit 78e36f3b0dae586f623c4a37ec5eb5496f5abbe1 ] > > sysctl has helpers which let us specify boundary values for a min or max > int value. Since these are used for a boundary check only they don't > change, so move these variables to sysctl_vals to avoid adding duplicate > variables. This will help with our cleanup of kernel/sysctl.c. > > [akpm@linux-foundation.org: update it for "mm/pagealloc: sysctl: change watermark_scale_factor max limit to 30%"] > [mcgrof@kernel.org: major rebase] > > Link: https://lkml.kernel.org/r/20211123202347.818157-3-mcgrof@kernel.org > Signed-off-by: Xiaoming Ni <nixiaoming@huawei.com> > Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> > Reviewed-by: Kees Cook <keescook@chromium.org> > Signed-off-by: Andrew Morton <akpm@linux-foundation.org> > Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> > Signed-off-by: Sasha Levin <sashal@kernel.org>
I'm a bit puzzled. How / why is this a stable fix?
Luis
|