From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Subject: Re: Run-time PM idea (was: Re: [RFC][PATCH 0/2] PM: Rearrange core suspend code) Date: Mon, 8 Jun 2009 00:05:23 +0200 Message-ID: <200906080005.23304.oliver__49492.4184321009$1244412327$gmane$org@neukum.org> References: <200906072347.00580.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200906072347.00580.rjw@sisk.pl> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: linux-pm@lists.linux-foundation.org Cc: ACPI Devel Maling List , LKML List-Id: linux-pm@vger.kernel.org Am Sonntag, 7. Juni 2009 23:46:59 schrieb Rafael J. Wysocki: > It may be necessary to resume a device synchronously, but I'm still > thinking how to implement that. This will absolutely be the default. You resume a device because you want it to do something now. It seems to me that you making your problem worse by using a spinlock as a lock. A mutex would make it easier. Regards Oliver