summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/spinlock.c
diff options
context:
space:
mode:
authorStuart Hayes <Stuart_Hayes@Dell.com>2012-06-13 16:10:45 -0500
committerLen Brown <len.brown@intel.com>2012-06-30 00:51:13 -0400
commit5f1601261050251a5ca293378b492a69d590dacb (patch)
treee2395916caa5bc1ab2a3b28770f6433551e3b16f /arch/x86/xen/spinlock.c
parent76e10d158efb6d4516018846f60c2ab5501900bc (diff)
downloadlinux-5f1601261050251a5ca293378b492a69d590dacb.tar.bz2
acpi_pad: fix power_saving thread deadlock
The acpi_pad driver can get stuck in destroy_power_saving_task() waiting for kthread_stop() to stop a power_saving thread. The problem is that the isolated_cpus_lock mutex is owned when destroy_power_saving_task() calls kthread_stop(), which waits for a power_saving thread to end, and the power_saving thread tries to acquire the isolated_cpus_lock when it calls round_robin_cpu(). This patch fixes the issue by making round_robin_cpu() use its own mutex. https://bugzilla.kernel.org/show_bug.cgi?id=42981 Cc: stable@vger.kernel.org Signed-off-by: Stuart Hayes <Stuart_Hayes@Dell.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch/x86/xen/spinlock.c')
0 files changed, 0 insertions, 0 deletions