FYI, we noticed the below changes on https://github.com/0day-ci/linux Donald-Buczek/nfs-revalidate-inode-before-access-checks/20151229-034212 commit 1a486a5117431d2f95f72d14839e14cef3c55559 ("nfs: revalidate inode before access checks") +------------------------------------------------------------------+----------+------------+ | | v4.4-rc7 | 1a486a5117 | +------------------------------------------------------------------+----------+------------+ | boot_successes | 118 | 0 | | boot_failures | 3 | 9 | | invoked_oom-killer:gfp_mask=0x | 2 | | | Mem-Info | 2 | | | Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 2 | | | backtrace:vfs_write | 2 | | | backtrace:SyS_write | 2 | | | backtrace:populate_rootfs | 2 | | | backtrace:kernel_init_freeable | 2 | | | BUG:kernel_test_oversize | 1 | | | BUG:sleeping_function_called_from_invalid_context_at_mm/slub.c | 0 | 9 | | BUG:scheduling_while_atomic | 0 | 9 | | WARNING:at_kernel/softirq.c:#__local_bh_disable_ip() | 0 | 9 | | WARNING:at_kernel/time/timer.c:#del_timer_sync() | 0 | 9 | | Kernel_panic-not_syncing:Aiee,killing_interrupt_handler | 0 | 7 | | backtrace:do_sys_open | 0 | 9 | | backtrace:SyS_open | 0 | 9 | | backtrace:vfs_stat | 0 | 9 | | backtrace:SyS_newstat | 0 | 9 | | backtrace:vfs_lstat | 0 | 9 | | backtrace:SyS_newlstat | 0 | 9 | +------------------------------------------------------------------+----------+------------+ [ 9.128702] systemd-journald[1418]: Vacuuming done, freed 0 bytes LKP: HOSTNAME vm-lkp-wsx03-4G-6, MAC 52:54:00:12:34:56, kernel 4.4.0-rc7-00001-g1a486a5 1, serial console /dev/ttyS0 [ 15.759910] BUG: sleeping function called from invalid context at mm/slub.c:1287 [ 15.761348] in_atomic(): 1, irqs_disabled(): 0, pid: 2272, name: wrapper [ 15.762391] CPU: 0 PID: 2272 Comm: wrapper Not tainted 4.4.0-rc7-00001-g1a486a5 #1 [ 15.764659] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014 [ 15.767105] 0000000000000000 ffff88007f5bbb60 ffffffff814be85c ffffffff81ed1a5a [ 15.769660] ffff88007f5bbb70 ffffffff8111b3c4 ffff88007f5bbb98 ffffffff8111b465 [ 15.772230] 0000000002400040 ffff88013b001700 0000000002400040 ffff88007f5bbbe0 [ 15.774759] Call Trace: [ 15.775813] [] dump_stack+0x4b/0x63 [ 15.777195] [] ___might_sleep+0x133/0x135 [ 15.778628] [] __might_sleep+0x9f/0xa6 [ 15.780056] [] kmem_cache_alloc_trace+0x4b/0x1b3 [ 15.781600] [] ? nfs_alloc_fattr+0x20/0x37 [ 15.783062] [] nfs_alloc_fattr+0x20/0x37 [ 15.784489] [] __nfs_revalidate_inode+0x59/0x171 [ 15.785981] [] nfs_revalidate_inode+0x47/0x4b [ 15.787497] [] nfs_permission+0x3d/0x155 [ 15.788920] [] __inode_permission+0x3b/0x9b [ 15.790353] [] inode_permission+0x40/0x42 [ 15.791847] [] link_path_walk+0x48/0x46e [ 15.793237] [] ? path_init+0x11b/0x2e8 [ 15.794605] [] path_openat+0x1db/0xcbb [ 15.796030] [] ? page_add_file_rmap+0x47/0x4c [ 15.797533] [] ? unlock_page+0x23/0x26 [ 15.798898] [] ? filemap_map_pages+0x17a/0x1f2 [ 15.800398] [] do_filp_open+0x4d/0xa3 [ 15.801776] [] ? kmem_cache_alloc+0x49/0x1aa [ 15.803236] [] ? getname_flags+0x2d/0x160 [ 15.804661] [] do_sys_open+0x14b/0x1da [ 15.806020] [] ? do_sys_open+0x14b/0x1da [ 15.807431] [] SyS_open+0x1e/0x20 [ 15.808779] [] entry_SYSCALL_64_fastpath+0x12/0x71 [ 15.810425] BUG: scheduling while atomic: wrapper/2272/0x00000002 [ 15.812593] Modules linked in: acpi_cpufreq processor [ 15.814197] CPU: 0 PID: 2272 Comm: wrapper Not tainted 4.4.0-rc7-00001-g1a486a5 #1 [ 15.816465] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014 [ 15.818869] 0000000000000000 ffff88007f5bb860 ffffffff814be85c ffff880133970c00 [ 15.821456] ffff88007f5bb878 ffffffff8111adb6 ffff88013fc15680 ffff88007f5bb8c8 [ 15.824026] ffffffff81a4d1c9 00ff88007f5bb8d0 ffffffff8114f6fc ffff880133970c00 [ 15.826553] Call Trace: [ 15.827565] [] dump_stack+0x4b/0x63 [ 15.828913] [] __schedule_bug+0x5c/0x6b [ 15.830288] [] __schedule+0x6e/0x8bf [ 15.831685] [] ? mod_timer+0x12f/0x17c [ 15.833095] [] ? __rpc_wait_for_completion_task+0x2f/0x2f [ 15.834703] [] schedule+0x7c/0x91 [ 15.836037] [] rpc_wait_bit_killable+0x21/0xb3 [ 15.839547] [] __wait_on_bit+0x4e/0x80 [ 15.840938] [] ? call_decode+0x334/0x334 [ 15.842333] [] ? call_decode+0x334/0x334 [ 15.843797] [] out_of_line_wait_on_bit+0x71/0x7c [ 15.845305] [] ? __rpc_wait_for_completion_task+0x2f/0x2f [ 15.846930] [] ? autoremove_wake_function+0x34/0x34 [ 15.848517] [] __rpc_execute+0xfb/0x2d6 [ 15.849894] [] rpc_execute+0x66/0xa0 [ 15.851281] [] rpc_run_task+0x78/0x80 [ 15.852689] [] nfs4_call_sync_sequence+0x55/0x76 [ 15.854196] [] nfs4_call_sync+0x2d/0x2f [ 15.855653] [] _nfs4_proc_getattr+0xb3/0xc5 [ 15.857185] [] nfs4_proc_getattr+0x40/0xab [ 15.858637] [] ? nfs4_proc_getattr+0x40/0xab [ 15.860126] [] __nfs_revalidate_inode+0xa3/0x171 [ 15.861632] [] nfs_revalidate_inode+0x47/0x4b [ 15.863122] [] nfs_permission+0x3d/0x155 [ 15.864544] [] __inode_permission+0x3b/0x9b [ 15.865967] [] inode_permission+0x40/0x42 [ 15.867400] [] link_path_walk+0x48/0x46e [ 15.868836] [] ? path_init+0x11b/0x2e8 [ 15.870218] [] path_openat+0x1db/0xcbb [ 15.871653] [] ? page_add_file_rmap+0x47/0x4c [ 15.873119] [] ? unlock_page+0x23/0x26 [ 15.874504] [] ? filemap_map_pages+0x17a/0x1f2 [ 15.876004] [] do_filp_open+0x4d/0xa3 [ 15.877377] [] ? kmem_cache_alloc+0x49/0x1aa [ 15.878866] [] ? getname_flags+0x2d/0x160 [ 15.880319] [] do_sys_open+0x14b/0x1da [ 15.881718] [] ? do_sys_open+0x14b/0x1da [ 15.883144] [] SyS_open+0x1e/0x20 [ 15.884473] [] entry_SYSCALL_64_fastpath+0x12/0x71 [ 15.886209] BUG: scheduling while atomic: wrapper/2272/0x00000000 [ 15.887789] Modules linked in: acpi_cpufreq processor [ 15.889401] CPU: 1 PID: 2272 Comm: wrapper Tainted: G W 4.4.0-rc7-00001-g1a486a5 #1 [ 15.891845] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014 [ 15.894243] 0000000000000000 ffff88007f5bb938 ffffffff814be85c ffff880133970c00 [ 15.896830] ffff88007f5bb950 ffffffff8111adb6 ffff88013fd15680 ffff88007f5bb9a0 [ 15.899415] ffffffff81a4d1c9 00ff88013fd152c0 ffff88013fd152d8 ffff880133970c00 [ 15.901965] Call Trace: [ 15.902958] [] dump_stack+0x4b/0x63 [ 15.904309] [] __schedule_bug+0x5c/0x6b [ 15.905718] [] __schedule+0x6e/0x8bf [ 15.907124] [] ? __rpc_wait_for_completion_task+0x2f/0x2f [ 15.908772] [] schedule+0x7c/0x91 [ 15.910088] [] rpc_wait_bit_killable+0x21/0xb3 [ 15.911605] [] __wait_on_bit+0x4e/0x80 [ 15.912998] [] out_of_line_wait_on_bit+0x71/0x7c [ 15.914508] [] ? __rpc_wait_for_completion_task+0x2f/0x2f [ 15.916153] [] ? autoremove_wake_function+0x34/0x34 [ 15.917718] [] __rpc_wait_for_completion_task+0x2d/0x2f [ 15.919343] [] nfs4_wait_for_completion_rpc_task+0x10/0x12 [ 15.920990] [] nfs4_run_open_task+0x133/0x163 [ 15.922466] [] _nfs4_open_and_get_state+0x6e/0x313 [ 15.924023] [] ? nfs_fattr_init+0x26/0x46 [ 15.925453] [] ? nfs4_opendata_alloc+0x2b4/0x2e2 [ 15.927091] [] nfs4_do_open+0x177/0x3d4 [ 15.928684] [] nfs4_atomic_open+0xe/0x20 [ 15.930093] [] nfs_atomic_open+0x14c/0x315 [ 15.931572] [] path_openat+0x4e2/0xcbb [ 15.932968] [] ? unlock_page+0x23/0x26 [ 15.934353] [] ? filemap_map_pages+0x17a/0x1f2 [ 15.935882] [] do_filp_open+0x4d/0xa3 [ 15.937263] [] ? kmem_cache_alloc+0x49/0x1aa [ 15.938746] [] ? getname_flags+0x2d/0x160 [ 15.940210] [] do_sys_open+0x14b/0x1da [ 15.941612] [] ? do_sys_open+0x14b/0x1da [ 15.943052] [] SyS_open+0x1e/0x20 [ 15.944381] [] entry_SYSCALL_64_fastpath+0x12/0x71 [ 15.961556] BUG: scheduling while atomic: wrapper/2296/0x00000002 [ 15.963372] Modules linked in: acpi_cpufreq processor [ 15.964996] CPU: 0 PID: 2296 Comm: wrapper Tainted: G W 4.4.0-rc7-00001-g1a486a5 #1 [ 15.967395] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014 [ 15.969832] 0000000000000000 ffff88013387f860 ffffffff814be85c ffff88013a511800 [ 15.972400] ffff88013387f878 ffffffff8111adb6 ffff88013fc15680 ffff88013387f8c8 [ 15.974968] ffffffff81a4d1c9 00ff88013387f8d0 ffffffff8114f6fc ffff88013a511800 [ 15.977520] Call Trace: [ 15.978486] [] dump_stack+0x4b/0x63 [ 15.979858] [] __schedule_bug+0x5c/0x6b [ 15.981251] [] __schedule+0x6e/0x8bf [ 15.982609] [] ? mod_timer+0x12f/0x17c [ 15.984013] [] ? __rpc_wait_for_completion_task+0x2f/0x2f [ 15.985627] [] schedule+0x7c/0x91 [ 15.986960] [] rpc_wait_bit_killable+0x21/0xb3 [ 15.988446] [] __wait_on_bit+0x4e/0x80 [ 15.989817] [] ? call_decode+0x334/0x334 [ 15.991250] [] ? call_decode+0x334/0x334 [ 15.992659] [] out_of_line_wait_on_bit+0x71/0x7c [ 15.994152] [] ? __rpc_wait_for_completion_task+0x2f/0x2f [ 15.995811] [] ? autoremove_wake_function+0x34/0x34 [ 15.997344] [] __rpc_execute+0xfb/0x2d6 [ 15.998752] [] rpc_execute+0x66/0xa0 [ 16.000351] [] rpc_run_task+0x78/0x80 [ 16.001720] [] nfs4_call_sync_sequence+0x55/0x76 [ 16.003235] [] nfs4_call_sync+0x2d/0x2f [ 16.004640] [] _nfs4_proc_getattr+0xb3/0xc5 [ 16.006076] [] nfs4_proc_getattr+0x40/0xab [ 16.007544] [] ? nfs4_proc_getattr+0x40/0xab [ 16.008993] [] __nfs_revalidate_inode+0xa3/0x171 [ 16.010493] [] nfs_revalidate_inode+0x47/0x4b [ 16.011983] [] nfs_permission+0x3d/0x155 [ 16.013393] [] __inode_permission+0x3b/0x9b [ 16.014843] [] inode_permission+0x40/0x42 [ 16.016296] [] link_path_walk+0x48/0x46e [ 16.017725] [] ? path_init+0x11b/0x2e8 [ 16.019143] [] path_openat+0x1db/0xcbb [ 16.020539] [] ? page_add_file_rmap+0x47/0x4c [ 16.022007] [] ? unlock_page+0x23/0x26 [ 16.023417] [] ? filemap_map_pages+0x17a/0x1f2 [ 16.024899] [] do_filp_open+0x4d/0xa3 [ 16.026258] [] ? kmem_cache_alloc+0x49/0x1aa [ 16.027764] [] ? getname_flags+0x2d/0x160 [ 16.029178] [] do_sys_open+0x14b/0x1da [ 16.030562] [] ? do_sys_open+0x14b/0x1da [ 16.031992] [] SyS_open+0x1e/0x20 [ 16.047321] [] entry_SYSCALL_64_fastpath+0x12/0x71 [ 16.048898] BUG: scheduling while atomic: wrapper/2296/0x00000000 [ 16.050357] Modules linked in: acpi_cpufreq processor [ 16.052001] CPU: 0 PID: 2296 Comm: wrapper Tainted: G W 4.4.0-rc7-00001-g1a486a5 #1 [ 16.054431] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014 [ 16.056992] 0000000000000000 ffff88013387f938 ffffffff814be85c ffff88013a511800 [ 16.059580] ffff88013387f950 ffffffff8111adb6 ffff88013fc15680 ffff88013387f9a0 [ 16.062115] ffffffff81a4d1c9 00ff88013fc152c0 ffff88013fc152d8 ffff88013a511800 [ 16.064764] Call Trace: [ 16.065723] [] dump_stack+0x4b/0x63 [ 16.067190] [] __schedule_bug+0x5c/0x6b [ 16.068608] [] __schedule+0x6e/0x8bf [ 16.069950] [] ? __rpc_wait_for_completion_task+0x2f/0x2f [ 16.071657] [] schedule+0x7c/0x91 [ 16.072975] [] rpc_wait_bit_killable+0x21/0xb3 [ 16.074447] [] __wait_on_bit+0x4e/0x80 [ 16.075889] [] out_of_line_wait_on_bit+0x71/0x7c [ 16.077528] [] ? __rpc_wait_for_completion_task+0x2f/0x2f [ 16.079162] [] ? autoremove_wake_function+0x34/0x34 [ 16.080808] [] __rpc_wait_for_completion_task+0x2d/0x2f [ 16.082400] [] nfs4_wait_for_completion_rpc_task+0x10/0x12 [ 16.084110] [] nfs4_run_open_task+0x133/0x163 [ 16.085588] [] _nfs4_open_and_get_state+0x6e/0x313 [ 16.087143] [] ? nfs_fattr_init+0x26/0x46 [ 16.088746] [] ? nfs4_opendata_alloc+0x2b4/0x2e2 [ 16.090339] [] nfs4_do_open+0x177/0x3d4 [ 16.092021] [] nfs4_atomic_open+0xe/0x20 [ 16.093562] [] nfs_atomic_open+0x14c/0x315 [ 16.095011] [] path_openat+0x4e2/0xcbb [ 16.096401] [] ? unlock_page+0x23/0x26 [ 16.097812] [] ? filemap_map_pages+0x17a/0x1f2 [ 16.099315] [] do_filp_open+0x4d/0xa3 [ 16.100755] [] ? kmem_cache_alloc+0x49/0x1aa [ 16.102204] [] ? getname_flags+0x2d/0x160 [ 16.103722] [] do_sys_open+0x14b/0x1da [ 16.105102] [] ? do_sys_open+0x14b/0x1da Thanks, Kernel Test Robot