Re: [linus:master] [mm, slub] fa9b88e459: kernel_BUG_at_include/linux/page-flags.h

From: Vlastimil Babka
Date: Mon Jan 09 2023 - 17:57:22 EST


On 1/8/23 17:28, kernel test robot wrote:
> Greeting,
>
> FYI, we noticed kernel_BUG_at_include/linux/page-flags.h due to commit (built with gcc-11):
>
> commit: fa9b88e459d710cadf3b01e8a64eda00cc91cdd6 ("mm, slub: refactor free debug processing")
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

Thanks for trying to bisect the root cause to earlier commit than
0af8489b0216f, as we discussed. Here I strongly suspect it's also earlier
than this commit. Because the code changed here is only used with
SLUB_DEBUG, which is not enabled in your config. Only later in 0af8489b0216f
it becomes used also by SLUB_TINY.

> [test failed on linux-next/master 469a89fd3bb73bb2eea628da2b3e0f695f80b7ce]
>
> in testcase: boot
>
> on test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 4G
>
> caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
>