FYI, we noticed the below changes on
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit cabc3d3f732505b3ad56009e4a8aba0c7d39a7d7 ("mm/memblock.c: use memblock_insert_region() for the empty array")
+-----------------------------------------------------------+------------+------------+
| | b0fd5507e8 | cabc3d3f73 |
+-----------------------------------------------------------+------------+------------+
| boot_successes | 70 | 0 |
| boot_failures | 26 | 28 |
| Kernel_panic-not_syncing:Attempted_to_kill_init!exitcode= | 26 | |
| kernel_BUG_at_arch/x86/mm/pageattr.c | 0 | 28 |
| invalid_opcode:#[##]DEBUG_PAGEALLOC | 0 | 28 |
| RIP:__change_page_attr_set_clr | 0 | 28 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 28 |
| backtrace:set_real_mode_permissions | 0 | 28 |
| backtrace:kernel_init_freeable | 0 | 28 |
+-----------------------------------------------------------+------------+------------+
[ 0.401891] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[ 0.402749] CPU: GenuineIntel Intel Xeon E312xx (Sandy Bridge) (family: 0x6, model: 0x2a, stepping: 0x1)
[ 0.407809] ------------[ cut here ]------------
[ 0.408497] kernel BUG at arch/x86/mm/pageattr.c:1348!
[ 0.409498] invalid opcode: 0000 [#1] DEBUG_PAGEALLOC
[ 0.410280] Modules linked in:
[ 0.410746] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.0-rc4-00140-gcabc3d3 #1
[ 0.411798] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 0.413063] task: ffff880000128000 ti: ffff88000011c000 task.ti: ffff88000011c000
[ 0.414136] RIP: 0010:[<ffffffff8102687c>] [<ffffffff8102687c>] __change_page_attr_set_clr+0x905/0xaf7
[ 0.415507] RSP: 0000:ffff88000011fce0 EFLAGS: 00010286
[ 0.416273] RAX: 0000000000000001 RBX: ffff88000011fde0 RCX: ffff880000000000
[ 0.417325] RDX: 0000000000000099 RSI: 000000000000009a RDI: ffffffff81000000
[ 0.418303] RBP: ffff88000011fdb8 R08: 0000000000000099 R09: ffff880000000000
[ 0.419280] R10: 00003fffffe00000 R11: 0000000000000067 R12: 0000000002600000
[ 0.420262] R13: ffff8800025ed4c8 R14: 000000000179a000 R15: 8000000000000161
[ 0.421239] FS: 0000000000000000(0000) GS:ffffffff817bc000(0000) knlGS:0000000000000000
[ 0.422348] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.423134] CR2: 00000000ffffffff CR3: 00000000017ab000 CR4: 00000000000406b0
[ 0.424119] Stack:
[ 0.424413] ffffffff81998b00 0000000000000000 ffff88000011fd98 0000000000000002
[ 0.425500] 00ffffff81998b00 ffff88000011fd20 0000000000000000 ffff88000011fd40
[ 0.426590] ffff88000011fd88 ffffff6700000001 8000000000099163 0000000000000099
[ 0.427709] Call Trace:
[ 0.428059] [<ffffffff81026bd0>] change_page_attr_set_clr+0x162/0x36b
[ 0.428958] [<ffffffff810276a8>] set_memory_ro+0x21/0x23
[ 0.429708] [<ffffffff81a226ef>] set_real_mode_permissions+0x74/0x98
[ 0.430594] [<ffffffff81a2267b>] ? map_vsyscall+0x40/0x40
[ 0.431350] [<ffffffff8100048a>] do_one_initcall+0x191/0x1a6
[ 0.432141] [<ffffffff81065751>] ? finish_task_switch+0x152/0x1b3
[ 0.432993] [<ffffffff814c2043>] ? rest_init+0xba/0xba
[ 0.433717] [<ffffffff81a20fa3>] kernel_init_freeable+0x5b/0x182
[ 0.434559] [<ffffffff814c2043>] ? rest_init+0xba/0xba
[ 0.435284] [<ffffffff814c204c>] kernel_init+0x9/0xca
[ 0.435993] [<ffffffff814ccb0f>] ret_from_fork+0x3f/0x70
[ 0.436742] [<ffffffff814c2043>] ? rest_init+0xba/0xba
[ 0.437491] Code: b8 f4 ff ff ff e9 01 02 00 00 85 c0 0f 85 f9 01 00 00 83 bd 70 ff ff ff 00 75 12 48 63 43 20 39 85 74 ff ff ff 0f 8d 95 01 00 00 <0f> 0b 48 8b 7b 28 48 b9 00 00 00 00 00 88 ff ff 48 89 f8 48 8d
[ 0.441265] RIP [<ffffffff8102687c>] __change_page_attr_set_clr+0x905/0xaf7
[ 0.442251] RSP <ffff88000011fce0>
[ 0.442772] ---[ end trace 3d6543145e4caae4 ]---
[ 0.443446] Kernel panic - not syncing: Fatal exception
Thanks,
Ying Huang