diff --git a/JOURNAL.md b/JOURNAL.md index c5653f5..4733b14 100644 --- a/JOURNAL.md +++ b/JOURNAL.md @@ -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 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. diff --git a/lagarto-ox.nix b/lagarto-ox.nix index 4b3be5d..175649a 100644 --- a/lagarto-ox.nix +++ b/lagarto-ox.nix @@ -96,6 +96,11 @@ 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. '' echo 0 > /proc/sys/vm/compaction_proactiveness