Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754147Ab3H1RIJ (ORCPT ); Wed, 28 Aug 2013 13:08:09 -0400 Received: from g4t0016.houston.hp.com ([15.201.24.19]:16506 "EHLO g4t0016.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753239Ab3H1RII (ORCPT ); Wed, 28 Aug 2013 13:08:08 -0400 Message-ID: <1377709595.10300.858.camel@misato.fc.hp.com> Subject: Re: [PATCH 0/2] driver core / ACPI: Avoid device removal locking problems From: Toshi Kani To: "Rafael J. Wysocki" Cc: ACPI Devel Maling List , Greg Kroah-Hartman , Tejun Heo , Gu Zheng , LKML , Yasuaki Ishimatsu Date: Wed, 28 Aug 2013 11:06:35 -0600 In-Reply-To: <26495758.n1zOCiG3iV@vostro.rjw.lan> References: <1543475.L7gSB7lLAu@vostro.rjw.lan> <20130828122422.GA18348@mtj.dyndns.org> <1592448.YZbpON5n7n@vostro.rjw.lan> <26495758.n1zOCiG3iV@vostro.rjw.lan> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.4 (3.6.4-3.fc18) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1039 Lines: 26 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 > 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). I like the simplicity of this version. :-) I also agree to remove the eject_pending flag. For the series: Acked-by: Toshi Kani Thanks, -Toshi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/