FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git x86/pmd-nx commit 3622dcc2b4f4eaf23bae2511a30fc449d0e5f0d9 ("x86, mm: set NX across entire PMD at boot") +------------------------------------------+------------+------------+ | | b23dc5a7cc | 3622dcc2b4 | +------------------------------------------+------------+------------+ | boot_successes | 4 | 0 | | boot_failures | 0 | 19 | | BUG:Bad_page_state_in_process | 0 | 19 | | BUG:Bad_page_map_in_process | 0 | 14 | | BUG:Bad_rss-counter_state_mm:#idx:val | 0 | 2 | | backtrace:free_reserved_area | 0 | 19 | | backtrace:free_init_pages | 0 | 19 | | backtrace:mark_rodata_ro | 0 | 19 | | backtrace:vm_munmap | 0 | 2 | | backtrace:SyS_munmap | 0 | 2 | | backtrace:do_execve | 0 | 12 | | backtrace:SyS_execve | 0 | 12 | | backtrace:do_group_exit | 0 | 10 | | backtrace:SyS_exit_group | 0 | 10 | | backtrace:vfs_read | 0 | 3 | | backtrace:SyS_read | 0 | 3 | | general_protection_fault | 0 | 3 | | RIP:release_pages | 0 | 3 | | Kernel_panic-not_syncing:Fatal_exception | 0 | 3 | +------------------------------------------+------------+------------+ [ 5.435374] PM: Hibernation image not present or could not be loaded. [ 5.437869] Freeing unused kernel memory: 1448K (ffffffff8215b000 - ffffffff822c5000) [ 5.439558] Write protecting the kernel read-only data: 16384k [ 5.441103] BUG: Bad page state in process swapper/0 pfn:02500 [ 5.442204] page:ffffea0000094000 count:0 mapcount:-127 mapping: (null) index:0x2 [ 5.443939] flags: 0x1ffff8000000000() [ 5.444891] page dumped because: nonzero mapcount [ 5.445861] Modules linked in: [ 5.446711] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.18.0-rc4-00185-g3622dcc #1 [ 5.448369] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 5.449450] ffffffff81cf3ba4 ffff880037a33d78 ffffffff819ea6b0 00000000000010ac [ 5.451360] ffffea0000094000 ffff880037a33da8 ffffffff8119b29c 0000000000000000 [ 5.453289] ffffea0000094000 0000000000000001 0000000000000000 ffff880037a33de8 [ 5.455234] Call Trace: [ 5.455942] [] dump_stack+0x4e/0x68 [ 5.456971] [] bad_page+0xf5/0x113 [ 5.457972] [] free_pages_prepare+0xbf/0x13f [ 5.459067] [] free_hot_cold_page+0x35/0x1a0 [ 5.460178] [] __free_pages+0x1b/0x24 [ 5.461219] [] free_reserved_area+0xaf/0x10b [ 5.462339] [] free_init_pages+0x8d/0x99 [ 5.463407] [] mark_rodata_ro+0xb6/0x11c [ 5.464522] [] ? rest_init+0x89/0x89 [ 5.465533] [] kernel_init+0x1d/0xdf [ 5.466596] [] ret_from_fork+0x7c/0xb0 [ 5.467633] [] ? rest_init+0x89/0x89 [ 5.468711] Disabling lock debugging due to kernel taint [ 5.470302] Freeing unused kernel memory: 1488K (ffffffff8248c000 - ffffffff82600000) [ 5.472182] Freeing unused kernel memory: 20K (ffff8800019fb000 - ffff880001a00000) [ 5.477823] Freeing unused kernel memory: 1812K (ffff880001e3b000 - ffff880002000000) [ 5.582078] BUG: Bad page state in process udevd pfn:0248c [ 5.582103] BUG: Bad page state in process udevd pfn:024a0 [ 5.582104] page:ffffea0000092800 count:2 mapcount:0 mapping:ffff88003ec8ea69 index:0x2 [ 5.582107] flags: 0x1ffff8000080068(uptodate|lru|active|swapbacked) --yliu