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.
LGTM. Reviewed-by: wang lian lianux.mm@gmail.com
Best regards, wang lian