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

This moves vm_swappiness and zone_reclaim_mode to mm/vmscan.c,
as part of the kernel/sysctl.c cleaning, also moves some external
variable declarations and function declarations from include/linux/swap.h
into mm/internal.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/swap.h
kernel/sysctl.c
mm/internal.h
mm/vmscan.c