]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mm: swap: move sysctl to mm/swap.c
authorKaixiong Yu <yukaixiong@huawei.com>
Sat, 11 Jan 2025 07:07:38 +0000 (15:07 +0800)
committerJoel Granados <joel.granados@kernel.org>
Fri, 7 Feb 2025 15:53:04 +0000 (16:53 +0100)
commit7e05627ee17bf30422705f94627cf9da70683887
tree3e6ec6e05982de9afb488e0aa400d7383dfe5c09
parent73aa354af21d4c09b31e9b287f4cb32a9b4e9c8c
mm: swap: move sysctl to mm/swap.c

The page-cluster belongs to mm/swap.c, move it to mm/swap.c .
Removes the redundant external variable declaration and unneeded
include(linux/swap.h).

Signed-off-by: Kaixiong Yu <yukaixiong@huawei.com>
Reviewed-by: Kees Cook <kees@kernel.org>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Joel Granados <joel.granados@kernel.org>
include/linux/mm.h
kernel/sysctl.c
mm/swap.c
mm/swap.h