Skip to content
Commit ee00479d authored by Ben Hutchings's avatar Ben Hutchings Committed by Shuah Khan
Browse files

selftests: vm: Try harder to allocate huge pages



If we need to increase the number of huge pages, drop caches first
to reduce fragmentation and then check that we actually allocated
as many as we wanted.  Retry once if that doesn't work.

Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent 3b4d3819
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment