diff options
author | Mike Kravetz <[email protected]> | 2022-03-04 20:28:48 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2022-03-05 11:08:32 -0800 |
commit | ff712a627f7296a42ea5d7356704525e1e909e05 (patch) | |
tree | 6088a44412b5772d3304e0863ef4ab16088130e7 /net/switchdev/switchdev.c | |
parent | 07ebd38a0da24d2534da57b4841346379db9f354 (diff) |
selftests/vm: cleanup hugetlb file after mremap test
The hugepage-mremap test will create a file in a hugetlb filesystem. In
a default 'run_vmtests' run, the file will contain all the hugetlb
pages. After the test, the file remains and there are no free hugetlb
pages for subsequent tests. This causes those hugetlb tests to fail.
Change hugepage-mremap to take the name of the hugetlb file as an
argument. Unlink the file within the test, and just to be sure remove
the file in the run_vmtests script.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Mike Kravetz <[email protected]>
Reviewed-by: Shuah Khan <[email protected]>
Acked-by: Yosry Ahmed <[email protected]>
Reviewed-by: Muchun Song <[email protected]>
Reviewed-by: Mina Almasry <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions