diff options
| author | Mark Brown <[email protected]> | 2025-02-12 17:44:25 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-02-18 06:40:04 +0000 |
| commit | 5dcf52e2ce0fe3c4516b1e494c1af6d3a69e30e7 (patch) | |
| tree | b8ff060c9d3e7578194d3ecdc4fc19d70b5d842c /lib/test_xarray.c | |
| parent | mm: hugetlb: avoid fallback for specific node allocation of 1G pages (diff) | |
| download | kernel-5dcf52e2ce0fe3c4516b1e494c1af6d3a69e30e7.tar.gz kernel-5dcf52e2ce0fe3c4516b1e494c1af6d3a69e30e7.zip | |
selftests/mm: fix check for running THP tests
When testing if we should try to compact memory or drop caches before we
run the THP or HugeTLB tests we use | as an or operator. This doesn't
work since run_vmtests.sh is written in shell where this is used to pipe
the output of the first argument into the second. Instead use the shell's
-o operator.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: b433ffa8dbac ("selftests: mm: perform some system cleanup before using hugepages")
Signed-off-by: Mark Brown <[email protected]>
Reviewed-by: Nico Pache <[email protected]>
Cc: Mariano Pache <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions
