Greeting, FYI, we noticed the following commit (built with gcc-9): commit: dc1468867f1d0f0cfeeef2294b3028d14e366d2e ("[RFC PATCH] Page Cache Allowing Hard Interrupts") url: https://github.com/0day-ci/linux/commits/Vishal-Moola/Page-Cache-Allowing-Hard-Interrupts/20210731-053909 base: https://git.kernel.org/cgit/linux/kernel/git/kdave/linux.git for-next in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): +----------------------------------------------------+------------+------------+ | | 878d950ee0 | dc1468867f | +----------------------------------------------------+------------+------------+ | boot_successes | 11 | 0 | | boot_failures | 0 | 16 | | WARNING:at_mm/workingset.c:#workingset_update_node | 0 | 16 | | RIP:workingset_update_node | 0 | 16 | +----------------------------------------------------+------------+------------+ If you fix the issue, kindly add following tag Reported-by: kernel test robot [ 0.868651][ T348] ------------[ cut here ]------------ [ 0.869546][ T348] WARNING: CPU: 1 PID: 348 at mm/workingset.c:443 workingset_update_node+0x54/0x80 [ 0.870983][ T348] Modules linked in: [ 0.871679][ T348] CPU: 1 PID: 348 Comm: kworker/u4:2 Not tainted 5.14.0-rc3-00104-gdc1468867f1d #1 [ 0.873150][ T348] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 0.874586][ T348] Workqueue: events_unbound async_run_entry_fn [ 0.875565][ T348] RIP: 0010:workingset_update_node+0x54/0x80 [ 0.876533][ T348] Code: 48 c7 c7 00 61 4f 83 e8 0a f4 ff ff 48 89 ef ba ff ff ff ff 5d be 09 00 00 00 e9 77 f1 06 00 48 8b 45 18 48 39 c6 74 06 5d c3 <0f> 0b eb b8 48 c7 c7 00 61 4f 83 e8 9c ee ff ff 48 89 ef ba 01 00 [ 0.879808][ T348] RSP: 0000:ffffc900000f7940 EFLAGS: 00010202 [ 0.880789][ T348] RAX: 0000000000000282 RBX: ffffea000436e400 RCX: 0000000000000002 [ 0.882110][ T348] RDX: ffffffff81262e80 RSI: 0000000000000000 RDI: ffff88810cc96490 [ 0.883390][ T348] RBP: ffff88810cc96490 R08: 0000000000000248 R09: 0000000000000001 [ 0.884684][ T348] R10: 000000000010db91 R11: ffff88810cc966b8 R12: 0000000002000000 [ 0.885976][ T348] R13: ffff88810cc96492 R14: ffff88810cc433b8 R15: ffff88810cc96490 [ 0.887283][ T348] FS: 0000000000000000(0000) GS:ffff88842fd00000(0000) knlGS:0000000000000000 [ 0.888732][ T348] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 0.889755][ T348] CR2: 0000000000000000 CR3: 0000000002812000 CR4: 00000000000406e0 [ 0.891003][ T348] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 0.892497][ T348] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 0.893803][ T348] Call Trace: [ 0.894393][ T348] xas_create+0x1aa/0x400 [ 0.895101][ T348] xas_store+0x52/0x600 [ 0.895843][ T348] ? mem_cgroup_charge_statistics+0x1c/0x40 [ 0.896817][ T348] ? xas_load+0x5/0x80 [ 0.897473][ T348] ? xa_get_order+0xa1/0x100 [ 0.898197][ T348] __add_to_page_cache_locked+0x181/0x3c0 [ 0.899074][ T348] ? scan_shadow_nodes+0x40/0x40 [ 0.899909][ T348] add_to_page_cache_lru+0x48/0xc0 [ 0.900742][ T348] pagecache_get_page+0x19d/0x600 [ 0.901547][ T348] grab_cache_page_write_begin+0x1d/0x40 [ 0.902410][ T348] simple_write_begin+0x23/0x240 [ 0.903219][ T348] generic_perform_write+0xb7/0x200 [ 0.904066][ T348] __generic_file_write_iter+0xf9/0x200 [ 0.904933][ T348] generic_file_write_iter+0x5d/0xc0 [ 0.905750][ T348] __kernel_write+0x14f/0x300 [ 0.906508][ T348] kernel_write+0x56/0x140 [ 0.907249][ T348] ? write_buffer+0x37/0x37 [ 0.907999][ T348] xwrite+0x31/0x62 [ 0.908777][ T348] do_copy+0x58/0x103 [ 0.909416][ T348] ? do_name+0x123/0x273 [ 0.910083][ T348] write_buffer+0x27/0x37 [ 0.910795][ T348] flush_buffer+0x2b/0x83 [ 0.911798][ T348] ? initrd_load+0x3f/0x3f [ 0.912513][ T348] __gunzip+0x267/0x30c [ 0.914991][ T348] ? decompress_method+0x3c/0x3c [ 0.915819][ T348] gunzip+0xe/0x11 [ 0.916453][ T348] ? initrd_load+0x3f/0x3f [ 0.917176][ T348] unpack_to_rootfs+0x15a/0x292 [ 0.917932][ T348] ? initrd_load+0x3f/0x3f [ 0.918633][ T348] do_populate_rootfs+0x59/0x106 [ 0.919427][ T348] async_run_entry_fn+0x20/0xc0 [ 0.920435][ T348] process_one_work+0x204/0x440 [ 0.921216][ T348] worker_thread+0x4d/0x400 [ 0.921949][ T348] ? mod_delayed_work_on+0xc0/0xc0 [ 0.922753][ T348] kthread+0x140/0x180 [ 0.923410][ T348] ? set_kthread_struct+0x40/0x40 [ 0.924189][ T348] ret_from_fork+0x22/0x30 [ 0.924902][ T348] ---[ end trace 41ce8e7a48ccc596 ]--- To reproduce: # build kernel cd linux cp config-5.14.0-rc3-00104-gdc1468867f1d .config make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage git clone https://github.com/intel/lkp-tests.git cd lkp-tests bin/lkp qemu -k job-script # job-script is attached in this email --- 0DAY/LKP+ Test Infrastructure Open Source Technology Center https://lists.01.org/hyperkitty/list/lkp@lists.01.org Intel Corporation Thanks, Oliver Sang