Re: [PATCH] mm: hugetlb: move hugeltb sysctls to its own file

From: Mike Kravetz
Date: Thu Mar 09 2023 - 16:31:51 EST


On 03/09/23 20:20, Kefeng Wang wrote:
> This moves all hugetlb sysctls to its own file, also kill an
> useless hugetlb_treat_movable_handler() defination.

I guess hugetlb_treat_movable_handler should have been removed as part
of commit d6cb41cc44c6 mm, hugetlb: remove hugepages_treat_as_movable sysctl.

>
> Signed-off-by: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx>
> ---
> include/linux/hugetlb.h | 8 -------
> kernel/sysctl.c | 32 --------------------------
> mm/hugetlb.c | 51 ++++++++++++++++++++++++++++++++++++++---
> 3 files changed, 48 insertions(+), 43 deletions(-)

Thanks! Changes look fine to me,

Reviewed-by: Mike Kravetz <mike.kravetz@xxxxxxxxxx>

--
Mike Kravetz