Greeting, FYI, we noticed the following commit (built with gcc-9): commit: c50eb1ed654b59efad96884cc26895a0acd7a15a ("mm/debug_vm_pgtable/locks: move non page table modifying test together") https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master in testcase: boot on test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 8G caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): +----------------------------------------------------------------------+------------+------------+ | | 5c65ca35e5 | c50eb1ed65 | +----------------------------------------------------------------------+------------+------------+ | boot_successes | 18 | 0 | | boot_failures | 0 | 10 | | BUG:sleeping_function_called_from_invalid_context_at_mm/page_alloc.c | 0 | 10 | +----------------------------------------------------------------------+------------+------------+ If you fix the issue, kindly add following tag Reported-by: kernel test robot [ 9.409233] BUG: sleeping function called from invalid context at mm/page_alloc.c:4822 [ 9.410557] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 1, name: swapper [ 9.411932] no locks held by swapper/1. [ 9.412595] CPU: 0 PID: 1 Comm: swapper Not tainted 5.9.0-rc3-00323-gc50eb1ed654b5 #2 [ 9.413824] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 9.415207] Call Trace: [ 9.415651] ? ___might_sleep.cold+0xa7/0xcc [ 9.416367] ? __alloc_pages_nodemask+0x14c/0x5b0 [ 9.417055] ? swap_migration_tests+0x50/0x293 [ 9.417704] ? debug_vm_pgtable+0x4bc/0x708 [ 9.418287] ? swap_migration_tests+0x293/0x293 [ 9.418911] ? do_one_initcall+0x82/0x3cb [ 9.419465] ? parse_args+0x1bd/0x280 [ 9.419983] ? rcu_read_lock_sched_held+0x36/0x60 [ 9.420673] ? trace_initcall_level+0x1f/0xf3 [ 9.421279] ? trace_initcall_level+0xbd/0xf3 [ 9.421881] ? do_basic_setup+0x9d/0xdd [ 9.422410] ? do_basic_setup+0xc3/0xdd [ 9.422938] ? kernel_init_freeable+0x72/0xa3 [ 9.423539] ? rest_init+0x134/0x134 [ 9.424055] ? kernel_init+0x5/0x12c [ 9.424574] ? ret_from_fork+0x19/0x30 [ 9.425310] Key type ._fscrypt registered [ 9.426019] Key type .fscrypt registered [ 9.426707] Key type fscrypt-provisioning registered [ 9.427637] fs-verity: Initialized fs-verity [ 9.840093] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3 [ 9.853197] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX [ 9.877389] Sending DHCP requests ., OK [ 9.879581] IP-Config: Got DHCP answer from 10.0.2.2, my address is 10.0.2.15 [ 9.880824] IP-Config: Complete: [ 9.881354] device=eth0, hwaddr=52:54:00:12:34:56, ipaddr=10.0.2.15, mask=255.255.255.0, gw=10.0.2.2 [ 9.882905] host=vm-snb-i386-109, domain=, nis-domain=(none) [ 9.883902] bootserver=10.0.2.2, rootserver=10.0.2.2, rootpath= [ 9.883905] nameserver0=10.0.2.3 [ 9.894061] Freeing unused kernel image (initmem) memory: 656K [ 9.895575] Write protecting kernel text and read-only data: 23520k [ 9.898343] Run /init as init process [ 9.899004] with arguments: [ 9.899514] /init [ 9.899927] with environment: [ 9.900487] HOME=/ [ 9.900987] TERM=linux [ 9.901465] user=lkp [ 9.901908] job=/lkp/jobs/scheduled/vm-snb-i386-109/boot-1-yocto-i386-minimal-20190520.cgz-c50eb1ed654b59efad96884cc26895a0acd7a15a-20200910-4374-1mjkprf-3.yaml [ 9.904329] ARCH=i386 [ 9.904786] kconfig=i386-randconfig-r026-20200909 [ 9.905564] branch=linux-next/master [ 9.906202] commit=c50eb1ed654b59efad96884cc26895a0acd7a15a [ 9.907202] BOOT_IMAGE=/pkg/linux/i386-randconfig-r026-20200909/gcc-9/c50eb1ed654b59efad96884cc26895a0acd7a15a/vmlinuz-5.9.0-rc3-00323-gc50eb1ed654b5 [ 9.909484] max_uptime=600 [ 9.910007] RESULT_ROOT=/result/boot/1/vm-snb-i386/yocto-i386-minimal-20190520.cgz/i386-randconfig-r026-20200909/gcc-9/c50eb1ed654b59efad96884cc26895a0acd7a15a/3 [ 9.912177] LKP_SERVER=inn [ 9.912636] selinux=0 [ 9.913011] softlockup_panic=1 [ 9.913484] vga=normal [ 9.931703] process 143 (init) attempted a POSIX timer syscall while CONFIG_POSIX_TIMERS is not set Starting udev [ 10.061529] pidof (167) used greatest stack depth: 6528 bytes left [ 10.070496] udevd[168]: starting version 3.2.7 [ 10.072314] random: udevd: uninitialized urandom read (16 bytes read) [ 10.073812] random: udevd: uninitialized urandom read (16 bytes read) [ 10.075031] random: udevd: uninitialized urandom read (16 bytes read) [ 10.079997] udevd[168]: specified group 'kvm' unknown [ 10.087732] udevd[169]: starting eudev-3.2.7 [ 10.225841] udevd[169]: specified group 'kvm' unknown [ 10.392367] parport_pc 00:04: reported by Plug and Play ACPI [ 10.394027] parport0: PC-style at 0x378, irq 7 [PCSPP(,...)] [ 10.428374] lp0: using parport0 (interrupt-driven). [ 10.429380] lp0: console ready [ 10.432762] NET3 PLIP version 2.4-parport gniibe@mri.co.jp [ 10.433719] plip0: Parallel port at 0x378, using IRQ 7. [ 10.453613] Linux agpgart interface v0.103 [ 10.975166] ppdev: user-space parallel port driver [ 12.143279] rcu-torture: rcu_torture_read_exit: End of episode [ 14.166934] udevd (173) used greatest stack depth: 6280 bytes left [ 16.266823] uvesafb: Getting VBE info block failed (eax=0x4f00, err=1) [ 16.267957] uvesafb: vbe_init() failed with -22 [ 16.268728] uvesafb: probe of uvesafb.0 failed with error -22 [ 16.785570] urandom_read: 3 callbacks suppressed [ 16.785574] random: dd: uninitialized urandom read (512 bytes read) [ 17.024261] bootlogd (222) used greatest stack depth: 6276 bytes left LKP: HOSTNAME vm-snb-i386-109, MAC 52:54:00:12:34:56, kernel 5.9.0-rc3-00323-gc50eb1ed654b5 2, serial console /dev/ttyS0 Poky (Yocto Project Reference Distro) 2.7+snapshot vm-snb-i386-109 /dev/ttyS0 [ 18.137435] mount: mounting debug on /sys/kernel/debug failed: No such file or directory [ 25.848294] rcu-torture: rcu_torture_read_exit: Start of episode [ 25.855111] rcu-torture: rcu_torture_read_exit: End of episode [ 26.072692] random: fast init done [ 27.041201] sysrq: Emergency Sync [ 27.042059] sysrq: Resetting To reproduce: # build kernel cd linux cp config-5.9.0-rc3-00323-gc50eb1ed654b5 .config make HOSTCC=gcc-9 CC=gcc-9 ARCH=i386 olddefconfig prepare modules_prepare bzImage git clone https://github.com/intel/lkp-tests.git cd lkp-tests bin/lkp qemu -k job-script # job-script is attached in this email Thanks, lkp