kernel/kexec_core: move kexec_core sysctls into its own file
authoryingelin <yingelin@huawei.com>
Sun, 24 Apr 2022 02:57:40 +0000 (10:57 +0800)
committerLuis Chamberlain <mcgrof@kernel.org>
Mon, 25 Apr 2022 21:01:11 +0000 (14:01 -0700)
commita467257ffe4bdb13eacddec0137013f6a1140b81
treefec7a62a5feb3262dd99dbc5c8fbf65198e784be
parentacd0b04ecc795e97b7878dccc5cb4d3d627a4c27
kernel/kexec_core: move kexec_core sysctls into its own file

This move the kernel/kexec_core.c respective sysctls to its own file.

kernel/sysctl.c has grown to an insane mess, We move sysctls to places
where features actually belong to improve the readability and reduce
merge conflicts. At the same time, the proc-sysctl maintainers can easily
care about the core logic other than the sysctl knobs added for some feature.

We already moved all filesystem sysctls out. This patch is part of the effort
to move kexec related sysctls out.

Signed-off-by: yingelin <yingelin@huawei.com>
Acked-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
kernel/kexec_core.c
kernel/sysctl.c