]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: mmap: move sysctl to mm/mmap.c
authorKaixiong Yu <yukaixiong@huawei.com>
Sat, 11 Jan 2025 07:07:41 +0000 (15:07 +0800)
committerJoel Granados <joel.granados@kernel.org>
Fri, 7 Feb 2025 15:53:04 +0000 (16:53 +0100)
commitaacdde7202140c8aa4a7a600ad410b11af3b7e4f
tree3b0acae86f0ff4362006f955382b58a051d22d17
parentb1e8d7134eb61677c8a3207004d1ce34305d1f35
mm: mmap: move sysctl to mm/mmap.c

This moves all mmap related sysctls to mm/mmap.c, as part of the
kernel/sysctl.c cleaning, also move the variable declaration from
kernel/sysctl.c into mm/mmap.c.

Signed-off-by: Kaixiong Yu <yukaixiong@huawei.com>
Reviewed-by: Kees Cook <kees@kernel.org>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Joel Granados <joel.granados@kernel.org>
kernel/sysctl.c
mm/mmap.c