On Sat, Aug 09, 2025 at 07:42:09PM +0000, Wei Yang wrote:
Currently it hard codes the number of hugepage to check for check_huge_anon(), but it would be more reasonable to do the check based on a number passed in.
Pass in the hugepage number and do the check based on it.
Signed-off-by: Wei Yang richard.weiyang@gmail.com Cc: Baolin Wang baolin.wang@linux.alibaba.com Cc: Donet Tom donettom@linux.ibm.com Cc: David Hildenbrand david@redhat.com Cc: Dev Jain dev.jain@arm.com Cc: Lorenzo Stoakes lorenzo.stoakes@oracle.com Cc: Zi Yan ziy@nvidia.com
Reviewed-by: Vishal Moola (Oracle) vishal.moola@gmail.com