Skip to content

Commit 243db53

Browse files
mjkravetztorvalds
authored andcommitted
Revert "selftests: add hugetlbfstest"
This manually reverts 7e50533 ("selftests: add hugetlbfstest"). The hugetlbfstest test depends on hugetlb pages being counted in a task's rss. This functionality is not in the kernel, so the test will always fail. Remove test to avoid confusion. Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com> Acked-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Cc: Joern Engel <joern@logfs.org> Cc: Davidlohr Bueso <dave@stgolabs.net> Cc: David Rientjes <rientjes@google.com> Cc: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 9fcd6d2 commit 243db53

File tree

3 files changed

+0
-98
lines changed

3 files changed

+0
-98
lines changed

tools/testing/selftests/vm/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ CFLAGS = -Wall
44
BINARIES = compaction_test
55
BINARIES += hugepage-mmap
66
BINARIES += hugepage-shm
7-
BINARIES += hugetlbfstest
87
BINARIES += map_hugetlb
98
BINARIES += thuge-gen
109
BINARIES += transhuge-stress

tools/testing/selftests/vm/hugetlbfstest.c

Lines changed: 0 additions & 86 deletions
This file was deleted.

tools/testing/selftests/vm/run_vmtests

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,6 @@ else
7575
echo "[PASS]"
7676
fi
7777

78-
echo "--------------------"
79-
echo "running hugetlbfstest"
80-
echo "--------------------"
81-
./hugetlbfstest
82-
if [ $? -ne 0 ]; then
83-
echo "[FAIL]"
84-
exitcode=1
85-
else
86-
echo "[PASS]"
87-
fi
88-
8978
echo "--------------------"
9079
echo "running userfaultfd"
9180
echo "--------------------"

0 commit comments

Comments
 (0)