Re: [PATCH 0/2] driver core / ACPI: Avoid device removal lockingproblems
From: Gu Zheng
Date: Wed Aug 28 2013 - 22:05:11 EST
Hi Rafael,
On 08/28/2013 09:45 PM, Rafael J. Wysocki wrote:
> Hi All,
>
> The following two patches are to address possible deadlocks related to
> device removal and device sysfs attribute access. In short, some device
> sysfs attribute callbacks need to acquire locks that are also held around
> device removal and that may lead to deadlocks with s_active draining in
> sysfs_deactivate().
>
> [1/2] Avoid possible device removal deadlocks related to device_hotplug_lock.
> [2/2] Rework the handling of containers by ACPI hotplug (which makes a possible
> device removal deadlock related to acpi_scan_lock go away).
>
This version is concise and friendly. It works well on latest kernel tree, and all
the splat goes away.:)
Best regards,
Gu
> On top of linux-next, for v3.12.
>
> Thanks,
> Rafael
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/