Re: [mm/debug_vm_pgtable/locks] c50eb1ed65: BUG:sleeping_function_called_from_invalid_context_at_mm/page_alloc.c

From: Aneesh Kumar K.V
Date: Sun Sep 13 2020 - 04:22:55 EST


kernel test robot <lkp@xxxxxxxxx> writes:

> 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 <lkp@xxxxxxxxx>
>

How about this?