lkml.org 
[lkml]   [2012]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectDeadlock on poweroff
Hi Paul and all,

With commit 755609a9087fa983f567dc5452b2fa7b089b591f I've got deadlock on
poweroff.

It guess it happens because of race for cpu_hotplug.lock:

CPU A CPU B
disable_nonboot_cpus()
_cpu_down()
cpu_hotplug_begin()
mutex_lock(&cpu_hotplug.lock);
__cpu_notify()
padata_cpu_callback()
__padata_remove_cpu()
padata_replace()
synchronize_rcu()
rcu_gp_kthread()
get_online_cpus();
mutex_lock(&cpu_hotplug.lock);

Have you seen the issue before?

--
Kirill A. Shutemov


\
 
 \ /
  Last update: 2012-10-07 05:01    [W:0.058 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site