Skip to content

Commit 4d8373f

Browse files
mdouchawangli5665
authored andcommitted
Drop the mem01 test
The mem01 test often fails on PPC systems mainly because it doesn't take into account page sizes larger than 4KB. Test scenario review revealed that it's not particularly useful because it doesn't have any more specific goal than filling large amount of memory and the hardcoded allocation limits are too low for modern and future systems. The useful part of this test mostly overlaps with coverage by existing OOM tests. Signed-off-by: Martin Doucha <[email protected]> Reviewed-by: Li Wang <[email protected]> Acked-by: Jan Stancek <[email protected]>
1 parent f490d38 commit 4d8373f

File tree

4 files changed

+0
-254
lines changed

4 files changed

+0
-254
lines changed

runtest/crashme

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ crash01 crash01
1010
crash02 crash02 -v 2
1111
# Generate random syscalls and execute them, less probability
1212
# to hose your system, but still.
13-
mem01 mem01 -r
14-
# Memory eater. Loves to be run in parallel with other programs.
15-
# May panic on buggy systems if the OOM killer was not fast enough :-)
1613
fork12 fork12
1714
# Fork as many children as possible. On systems with lots of memory
1815
# and kernels prior to 2.4.19, this can hang the system by using up all pids

runtest/mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ mtest06_3 mmap3 -x 0.002 -p
2020
# Remains diabled till the infinite loop problem is solved
2121
#mtest-6_4 shmat1 -x 0.00005
2222

23-
mem01 mem01
2423
mem02 mem02
2524
mem03 mem03
2625

testcases/kernel/mem/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
/ksm/ksm04
2424
/ksm/ksm05
2525
/ksm/ksm06
26-
/mem/mem01
2726
/mem/mem02
2827
/mmapstress/mmap-corruption01
2928
/mmapstress/mmapstress01

testcases/kernel/mem/mem/mem01.c

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

0 commit comments

Comments
 (0)