On 9 Aug 2025, at 15:42, 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 <[email protected]> > Cc: Baolin Wang <[email protected]> > Cc: Donet Tom <[email protected]> > Cc: David Hildenbrand <[email protected]> > Cc: Dev Jain <[email protected]> > Cc: Lorenzo Stoakes <[email protected]> > Cc: Zi Yan <[email protected]> > > --- > v2: > * use mm-new > * add back nr_hpages which is removed by an early commit > * adjust the change log a little > * drop RB and resend > --- > tools/testing/selftests/mm/split_huge_page_test.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >
LGTM. Reviewed-by: Zi Yan <[email protected]> Best Regards, Yan, Zi
