FYI, we noticed the following commit: commit: ed3ce2a9172457ef7dbaa9f964e63dfde2bdcb5f ("x86: Optimize clear_page()") url: https://github.com/0day-ci/linux/commits/Borislav-Petkov/x86-Optimize-clear_page/20170215-193441 in testcase: will-it-scale with following parameters: test: poll2 cpufreq_governor: performance test-description: Will It Scale takes a testcase and runs it from 1 through to n parallel copies to see if the testcase will scale. It builds both a process and threads based test in order to see any differences between the two. test-url: https://github.com/antonblanchard/will-it-scale on test machine: 8 threads Ivy Bridge with 16G memory caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): +--------------------------------------------------------------------------+------------+------------+ | | 10b9dd5686 | ed3ce2a917 | +--------------------------------------------------------------------------+------------+------------+ | boot_successes | 12 | 5 | | boot_failures | 25 | 8 | | kernel_BUG_at_include/linux/skbuff.h | 14 | | | invalid_opcode:#[##]SMP | 14 | | | RIP:eth_type_trans | 14 | | | BUG:sleeping_function_called_from_invalid_context_at_kernel/irq/manage.c | 3 | | | calltrace:init_netconsole | 2 | | | calltrace:SyS_finit_module | 3 | 2 | | WARNING:at_fs/sysfs/dir.c:#sysfs_warn_dup | 2 | 2 | | calltrace:parport_pc_init | 2 | 2 | | WARNING:at_lib/kobject.c:#kobject_add_internal | 2 | 2 | | BUG:kernel_hang_in_test_stage | 2 | | | invoked_oom-killer:gfp_mask=0x | 6 | | | Mem-Info | 6 | | | Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 6 | | | BUG:stack_guard_page_was_hit_at#(stack_is#..#) | 0 | 2 | | BUG:unable_to_handle_kernel | 0 | 4 | | Oops | 0 | 4 | | RIP:native_set_pmd | 0 | 1 | | calltrace:SyS_kexec_load | 0 | 4 | | Kernel_panic-not_syncing:Fatal_exception | 0 | 4 | | RIP:memset_erms | 0 | 2 | | RIP:ident_pmd_init | 0 | 1 | +--------------------------------------------------------------------------+------------+------------+ [ 339.467661] BUG: unable to handle kernel paging request at ffff8803cf2e2008 [ 339.468000] IP: [] native_set_pmd+0x1/0x10 [ 339.468259] PGD 23f1067 [ 339.468348] PUD 23f5067 PMD 3cf2d2063 [ 339.468624] PTE 80000003cf2e2161 [ 339.468838] [ 339.468977] Oops: 0003 [#1] SMP [ 339.469143] Modules linked in: rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver netconsole intel_rapl x86_pkg_temp_thermal snd_hda_codec_realtek intel_powerclamp coretemp snd_hda_codec_generic kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel mxm_wmi ahci aesni_intel lrw snd_hda_intel gf128mul libahci glue_helper firewire_ohci ablk_helper cryptd pcspkr firewire_core serio_raw crc_itu_t libata snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_timer snd soundcore shpchp nuvoton_cir rc_core wmi video ip_tables [ 339.472856] CPU: 7 PID: 5008 Comm: kexec Tainted: G W 4.9.0-rc6-00134-ged3ce2a #1 [ 339.473167] Hardware name: /DZ77BH-55K, BIOS BHZ7710H.86A.0097.2012.1228.1346 12/28/2012 [ 339.473494] task: ffff8803e396cb80 task.stack: ffffc90009ab4000 [ 339.473703] RIP: 0010:[] [] native_set_pmd+0x1/0x10 [ 339.474060] RSP: 0018:ffffc90009ab7da0 EFLAGS: 00010202 [ 339.474257] RAX: 00000002002001e3 RBX: 0000000200200000 RCX: ffffc00000000fff [ 339.474484] RDX: ffff8803cf2e2008 RSI: 00000002002001e3 RDI: ffff8803cf2e2008 [ 339.474709] RBP: ffffc90009ab7de8 R08: 0000000240000000 R09: 0000000000000004 [ 339.474935] R10: 00000003cf2e2000 R11: 000000041f000000 R12: 0000000240000000 [ 339.475161] R13: ffffc000001fffff R14: ffffc00000000fff R15: ffff8803cf2e2000 [ 339.475388] FS: 00007f726df68700(0000) GS:ffff88041edc0000(0000) knlGS:0000000000000000 [ 339.475693] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 339.475897] CR2: ffff8803cf2e2008 CR3: 00000003e43e4000 CR4: 00000000001406e0 [ 339.476122] Stack: [ 339.476269] ffffc90009ab7de8 ffffffff810659a3 ffffc90009ab7ea0 ffffc90009ab7e98 [ 339.476767] 0000000240000000 ffff8803e1f2f000 000000041f000000 ffffc90009ab7e88 [ 339.477267] ffff8803e1f2f040 ffffc90009ab7e38 ffffffff81065bed ffff8803cf2e2000 [ 339.477768] Call Trace: [ 339.477923] [] ? ident_pmd_init+0x93/0xb0 [ 339.478136] [] ident_pud_init+0x10d/0x180 [ 339.478340] [] kernel_ident_mapping_init+0x93/0x120 [ 339.478557] [] machine_kexec_prepare+0xab/0x400 [ 339.478768] [] ? trace_clock_x86_tsc+0x20/0x20 [ 339.478978] [] do_kexec_load+0x16c/0x260 [ 339.479180] [] SyS_kexec_load+0x8d/0xd0 [ 339.479381] [] entry_SYSCALL_64_fastpath+0x1a/0xa9 [ 339.479595] Code: 89 e5 48 89 47 04 5d c3 66 90 55 48 89 e5 0f 01 f8 5d c3 0f 1f 80 00 00 00 00 55 48 89 37 48 89 e5 5d c3 0f 1f 80 00 00 00 00 55 <48> 89 37 48 89 e5 5d c3 0f 1f 80 00 00 00 00 55 48 89 37 48 89 [ 339.483472] RIP [] native_set_pmd+0x1/0x10 [ 339.483729] RSP [ 339.483899] CR2: ffff8803cf2e2008 [ 339.484068] ---[ end trace e8a73c69477a439e ]--- To reproduce: git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git cd lkp-tests bin/lkp install job.yaml # job file is attached in this email bin/lkp run job.yaml Thanks, Xiaolong