commit | ee00479d6702393bf5eda94775349a2e28ba78fa | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben@decadent.org.uk> | Mon Nov 02 12:22:22 2015 +0000 |
committer | Shuah Khan <shuahkh@osg.samsung.com> | Tue Nov 03 16:55:02 2015 -0700 |
tree | 827a6acbec8d25be8fe245a9e41faede53f80a10 | |
parent | 3b4d3819eca5787bae77314851a799ecbf0da02b [diff] |
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: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>