Re: [PATCH 0/2] driver core / ACPI: Avoid device removal locking problems

2013-08-28 Thread Gu Zheng
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

Re: [PATCH 0/2] driver core / ACPI: Avoid device removal locking problems

2013-08-28 Thread Toshi Kani
On Wed, 2013-08-28 at 15:45 +0200, 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 >

[PATCH 0/2] driver core / ACPI: Avoid device removal locking problems

2013-08-28 Thread Rafael J. Wysocki
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