On 07.08.25 10:27, Wei Yang wrote:
Currently it hard coded the number of hugepage to check for check_huge_anon(), but we already have the number passed in.
Do the check based on the number of hugepage passed in is more reasonable.
Signed-off-by: Wei Yang richard.weiyang@gmail.com
Acked-by: David Hildenbrand david@redhat.com