Hi Catalin, My kvm-xfstests [1] VM doesn't boot with kmemleak enabled since commit c5665868183f ("mm: kmemleak: use the memory pool for early allocations"). There is no console output when running: $ kvm -boot order=c -net none -machine type=pc,accel=kvm:tcg -cpu host \ -drive file=$ROOTFS,if=virtio,snapshot=on -vga none -nographic \ -smp 2 -m 2048 -serial mon:stdio --kernel $KERNEL \ --append 'root=/dev/vda console=ttyS0,115200' $ kvm --version QEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.19) Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers Attached defconfig saved by 'make savedefconfig'. I tried increasing DEBUG_KMEMLEAK_MEM_POOL_SIZE, which did not help. I also tried moving kmemleak_init() back to its old location, since this changes seemed unrelated to the commit. Didn't help either. Let me know if you have any suggestion how to debug this. Thanks, Amir. [1] https://github.com/tytso/xfstests-bld/blob/master/Documentation/kvm-xfstests.md
Attachment:
defconfig
Description: Binary data