Re: [PATCH] mm: memory-failure: Move memory failure sysctls to its own file

From: HORIGUCHI NAOYA(堀口 直也)
Date: Thu Mar 09 2023 - 00:14:56 EST


On Thu, Mar 09, 2023 at 12:59:24PM +0800, Kefeng Wang wrote:
> The sysctl_memory_failure_early_kill and memory_failure_recovery
> are only used in memory-failure.c, move them to its own file.

Thank you for the patch.

Could you explain the benefit to move them?
We seem to have many other parameters in kernel/sysctl.c which are used
only in single places, so why do we handle these two differently?

Thanks,
Naoya Horiguchi