Thank you Qian, do you happen to have qemu arguments that you used? Thank you, Pasha On Tue, Mar 19, 2019 at 3:35 PM Qian Cai <cai@xxxxxx> wrote: > > On Tue, 2019-03-19 at 15:27 -0400, Pavel Tatashin wrote: > > > So reverting this patch on the top of the mainline fixed the memory > > > corruption > > > for me or at least make it way much harder to reproduce. > > > > > > dbe2d4e4f12e ("mm, compaction: round-robin the order while searching the > > > free > > > lists for a target") > > > > > > This is easy to reproduce on both KVM and bare-metal using the reproducer. > > > > > > # swapoff -a > > > # i=0; while :; do i=$((i+1)); echo $i | tee /tmp/log ; > > > /opt/ltp/testcases/bin/oom01; sleep 5; done > > > > > > The memory corruption always happen within 300 tries. With the above patch > > > reverted, both the mainline and linux-next survives with 1k+ attempts so > > > far. > > > > Could you please share copy of your config. > > https://git.sr.ht/~cai/linux-debug/tree/master/config