Always run memtool at the start

This commit is contained in:
Rodrigo Arias 2024-07-09 17:06:50 +02:00
parent 5a88ed36b4
commit d488c0b3b7
2 changed files with 7 additions and 0 deletions

View File

@ -1038,3 +1038,5 @@ Let's see if we can reproduce it again in the same position.
iter 26, nblocks 21, nbytes 50.2M (A) iter 26, nblocks 21, nbytes 50.2M (A)
iter 27, nblocks 22, nbytes 53.8M (A) iter 27, nblocks 22, nbytes 53.8M (A)
Let's make it automatic, so we only need to boot and confirm that it
hangs. Just in case we can make it not hang by a miracle.

View File

@ -96,6 +96,11 @@
sh -c 'hb=0; while [ 1 ]; do let hb=$hb+1; devmem 0x1bfff0000 32 $hb; done' & sh -c 'hb=0; while [ 1 ]; do let hb=$hb+1; devmem 0x1bfff0000 32 $hb; done' &
'' ''
+ +
# Run our memtool to hang the kernel here.
''
memtool
''
+
# Disable proactive compaction. May be better to disable CONFIG_COMPACTION. # Disable proactive compaction. May be better to disable CONFIG_COMPACTION.
'' ''
echo 0 > /proc/sys/vm/compaction_proactiveness echo 0 > /proc/sys/vm/compaction_proactiveness