FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 80ca8c3a84c74a87977558861bb8eef650732912 ("rhashtable: Lower/upper bucket may map to same lock while shrinking") +--------------------------------------------------------+------------+------------+ | | df8a39defa | 80ca8c3a84 | +--------------------------------------------------------+------------+------------+ | boot_successes | 0 | 0 | | boot_failures | 240 | 20 | | BUG:spinlock_trylock_failure_on_UP_on_CPU | 240 | | | backtrace:rhashtable_shrink | 240 | | | backtrace:test_rht_init | 240 | | | backtrace:kernel_init_freeable | 240 | | | WARNING:at_kernel/locking/mutex.c:#mutex_lock_nested() | 0 | 20 | | PANIC:double_fault | 0 | 20 | | RIP:device_create | 0 | 20 | | Kernel_panic-not_syncing:Machine_halted | 0 | 20 | | backtrace:rht_deferred_worker | 0 | 20 | +--------------------------------------------------------+------------+------------+ [ 0.346236] ------------[ cut here ]------------ [ 0.346236] ------------[ cut here ]------------ [ 0.347000] WARNING: CPU: 0 PID: 11 at kernel/locking/mutex.c:570 mutex_lock_nested+0x425/0x570() [ 0.347000] WARNING: CPU: 0 PID: 11 at kernel/locking/mutex.c:570 mutex_lock_nested+0x425/0x570() [ 0.347000] DEBUG_LOCKS_WARN_ON(l->magic != l) [ 0.347000] DEBUG_LOCKS_WARN_ON(l->magic != l) [ 0.347000] Modules linked in: [ 0.347000] Modules linked in: [ 0.347000] CPU: 0 PID: 11 Comm: kworker/0:1 Not tainted 3.19.0-rc4-ge888419 #667 [ 0.347000] CPU: 0 PID: 11 Comm: kworker/0:1 Not tainted 3.19.0-rc4-ge888419 #667 [ 0.347000] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 0.347000] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 0.347000] Workqueue: events rht_deferred_worker [ 0.347000] Workqueue: events rht_deferred_worker [ 0.347000] ffff88007695fc28 [ 0.347000] ffff88007695fc28 ffff88007695fbd8 ffff88007695fbd8 ffffffff8149dd9b ffffffff8149dd9b ffff88007695fc18 ffff88007695fc18 [ 0.347000] ffffffff8109b0bc [ 0.347000] ffffffff8109b0bc ffff88007695fc58 ffff88007695fc58 ffffffff814a32f4 ffffffff814a32f4 ffff880076883d90 ffff880076883d90 [ 0.347000] 0000000000000246 [ 0.347000] 0000000000000246 ffff88007695fca8 ffff88007695fca8 ffff8800769022a0 ffff8800769022a0 ffff88007695fc78 ffff88007695fc78 [ 0.347000] Call Trace: [ 0.347000] Call Trace: [ 0.347000] [] dump_stack+0x19/0x1b [ 0.347000] [] dump_stack+0x19/0x1b [ 0.347000] [] warn_slowpath_common+0xca/0xe3 [ 0.347000] [] warn_slowpath_common+0xca/0xe3 [ 0.347000] [] ? mutex_lock_nested+0x425/0x570 [ 0.347000] [] ? mutex_lock_nested+0x425/0x570 [ 0.347000] [] warn_slowpath_fmt+0x46/0x48 [ 0.347000] [] warn_slowpath_fmt+0x46/0x48 [ 0.347000] [] mutex_lock_nested+0x425/0x570 [ 0.347000] [] mutex_lock_nested+0x425/0x570 [ 0.347000] [] rht_deferred_worker+0x23/0x94 [ 0.347000] [] rht_deferred_worker+0x23/0x94 [ 0.347000] [] process_one_work+0x361/0x558 [ 0.347000] [] process_one_work+0x361/0x558 [ 0.347000] [] worker_thread+0x496/0x5e6 [ 0.347000] [] worker_thread+0x496/0x5e6 [ 0.347000] [] ? rescuer_thread+0x462/0x462 [ 0.347000] [] ? rescuer_thread+0x462/0x462 [ 0.347000] [] ? rescuer_thread+0x462/0x462 [ 0.347000] [] ? rescuer_thread+0x462/0x462 [ 0.347000] [] kthread+0x118/0x120 [ 0.347000] [] kthread+0x118/0x120 [ 0.347000] [] ? local_clock+0x2b/0x34 [ 0.347000] [] ? local_clock+0x2b/0x34 [ 0.347000] [] ? init_completion+0x24/0x24 [ 0.347000] [] ? init_completion+0x24/0x24 [ 0.347000] [] ret_from_fork+0x7a/0xb0 [ 0.347000] [] ret_from_fork+0x7a/0xb0 [ 0.347000] [] ? init_completion+0x24/0x24 [ 0.347000] [] ? init_completion+0x24/0x24 [ 0.347000] ---[ end trace e632e964ce5a24c7 ]--- [ 0.347000] ---[ end trace e632e964ce5a24c7 ]--- Thanks, Huang, Ying