Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755634AbXE3OD7 (ORCPT ); Wed, 30 May 2007 10:03:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755924AbXE3OC4 (ORCPT ); Wed, 30 May 2007 10:02:56 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:43080 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755913AbXE3OCy (ORCPT ); Wed, 30 May 2007 10:02:54 -0400 From: "Rafael J. Wysocki" To: Matthew Garrett Subject: Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable review Date: Wed, 30 May 2007 16:08:27 +0200 User-Agent: KMail/1.9.5 Cc: Nigel Cunningham , Pavel Machek , Linus Torvalds , Linux Kernel Mailing List References: <1180531067.24891.1.camel@nigel.suspend2.net> <20070530132958.GA28893@srcf.ucam.org> In-Reply-To: <20070530132958.GA28893@srcf.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705301608.28160.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 939 Lines: 25 On Wednesday, 30 May 2007 15:29, Matthew Garrett wrote: > On Wed, May 30, 2007 at 11:17:47PM +1000, Nigel Cunningham wrote: > > > That aside, keeping the driver layers read-only sounds more complicated > > than just freezing processes. > > It's a problem that effectively has to be solved for STR anyway if > we're going to suspend without freezing. The midlayers need to be able > to block requests when the low-level devices are suspended, Very true. And I think the right order should be to make the midlayers do this and then remove the freezer from the STR code path, not the other way around. :-) > so we can just re-use that code. Yes, that should be possible. Greetings, Rafael - 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/