On 2025/8/8 09: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
Yes. LGTM. Reviewed-by: wang lian lianux.mm@gmail.com
Best regards, wang lian