summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorNico Pache <npache@redhat.com>2024-01-17 19:00:37 +0100
committerAndrew Morton <akpm@linux-foundation.org>2024-02-22 19:24:39 +0100
commitb433ffa8dbacbc5fddd6a110c4a23d0d711a6e74 (patch)
tree68491ee0480c62d2696e5f480bd357dabc9ddcd7 /lib
parentuserfaultfd: fix return error if mmap_changing is non-zero in MOVE ioctl (diff)
downloadlinux-b433ffa8dbacbc5fddd6a110c4a23d0d711a6e74.tar.xz
linux-b433ffa8dbacbc5fddd6a110c4a23d0d711a6e74.zip
selftests: mm: perform some system cleanup before using hugepages
When running with CATEGORY= (thp | hugetlb) we see a large numbers of tests failing. These failures are due to not being able to allocate a hugepage and normally occur on memory contrainted systems or when using large page sizes. drop_cache and compact_memory before the tests for a higher chance at a successful hugepage allocation. Link: https://lkml.kernel.org/r/20240117180037.15734-1-npache@redhat.com Signed-off-by: Nico Pache <npache@redhat.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions