Skip to content

Commit

Permalink
Revert "selftests: add hugetlbfstest"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Kravetz authored and Linus Torvalds committed Sep 8, 2015
1 parent 9fcd6d2 commit 243db53
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 98 deletions.
1 change: 0 additions & 1 deletion tools/testing/selftests/vm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ CFLAGS = -Wall
BINARIES = compaction_test
BINARIES += hugepage-mmap
BINARIES += hugepage-shm
BINARIES += hugetlbfstest
BINARIES += map_hugetlb
BINARIES += thuge-gen
BINARIES += transhuge-stress
Expand Down
86 changes: 0 additions & 86 deletions tools/testing/selftests/vm/hugetlbfstest.c

This file was deleted.

11 changes: 0 additions & 11 deletions tools/testing/selftests/vm/run_vmtests
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,6 @@ else
echo "[PASS]"
fi

echo "--------------------"
echo "running hugetlbfstest"
echo "--------------------"
./hugetlbfstest
if [ $? -ne 0 ]; then
echo "[FAIL]"
exitcode=1
else
echo "[PASS]"
fi

echo "--------------------"
echo "running userfaultfd"
echo "--------------------"
Expand Down

0 comments on commit 243db53

Please sign in to comment.