Skip to content
Commit dd63bd7d authored by Zi Yan's avatar Zi Yan Committed by Andrew Morton
Browse files

selftests/mm: fix split huge page tests

Fix two inputs to check_anon_huge() and one if condition, so the tests
work as expected.

Link: https://lkml.kernel.org/r/20230306160907.16804-1-zi.yan@sent.com


Fixes: c07c343c ("selftests/vm: dedup THP helpers")
Signed-off-by: default avatarZi Yan <ziy@nvidia.com>
Reviewed-by: default avatarZach O'Keefe <zokeefe@google.com>
Tested-by: default avatarZach O'Keefe <zokeefe@google.com>
Acked-by: default avatarDavid Hildenbrand <david@redhat.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 99c29133
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment