diff options
| author | Nico Pache <[email protected]> | 2024-01-17 11:00:37 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-02-22 10:24:39 -0800 |
| commit | b433ffa8dbacbc5fddd6a110c4a23d0d711a6e74 (patch) | |
| tree | 68491ee0480c62d2696e5f480bd357dabc9ddcd7 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 6ca03f1bb5a7427a66df62c954b3500a4255cdb9 (diff) | |
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/[email protected]
Signed-off-by: Nico Pache <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions