On Wed, 3 Jul 2019, Song liwei wrote:
> After CPUHP_TEARDOWN_CPU callback was invoked, the context will become
> atomic and IRQ disabled, while mc_cpu_down_prep will called
> kernfs_find_and_get_ns which will try to acquire mutext lock which may
> sleep.
>
> Adjust CPUHP_AP_MICROCODE_LOADER callb
From: Liwei Song
Fix the following BUG:
[ 236.599792] BUG: sleeping function called from invalid context at
kernel/locking/mutex.c:255
[ 236.599796] in_atomic(): 1, irqs_disabled(): 1, pid: 14, name: migration/1
[ 236.599798] Preemption disabled at:
[ 236.599807] [] cpu_stopper_thread+0x71/
2 matches
Mail list logo