Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751413AbXE2WKS (ORCPT ); Tue, 29 May 2007 18:10:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750799AbXE2WKH (ORCPT ); Tue, 29 May 2007 18:10:07 -0400 Received: from nigel.suspend2.net ([203.171.70.205]:54279 "EHLO nigel.suspend2.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750808AbXE2WKF (ORCPT ); Tue, 29 May 2007 18:10:05 -0400 Subject: Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable review From: Nigel Cunningham Reply-To: nigel@nigel.suspend2.net To: Linus Torvalds Cc: Mark Lord , Pavel Machek , Romano Giannetti , Chris Wright , Chuck Ebbert , Linux Kernel Mailing List , stable@kernel.org, Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, "Rafael J. Wysocki" In-Reply-To: References: <1179870110.16656.2.camel@localhost> <1180008394.15600.26.camel@localhost> <20070524200435.GA9604@elf.ucw.cz> <20070524220017.GC9604@elf.ucw.cz> <20070524221743.GD9604@elf.ucw.cz> <20070524231852.GG9604@elf.ucw.cz> <1180058123.3997.91.camel@nigel.suspend2.net> <1180059605.3997.100.camel@nigel.suspend2.net> <1180062040.3997.112.camel@nigel.suspend2.net> <1180067587.3997.136.camel@nigel.suspend2.net> <465C366C.2070900@rtr.ca> <1180473765.20718.47.camel@nigel.suspend2.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-0/Yii8glH9GCOPVTFWuw" Date: Wed, 30 May 2007 08:10:04 +1000 Message-Id: <1180476604.20718.50.camel@nigel.suspend2.net> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2169 Lines: 63 --=-0/Yii8glH9GCOPVTFWuw Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi. On Tue, 2007-05-29 at 14:33 -0700, Linus Torvalds wrote: >=20 > On Wed, 30 May 2007, Nigel Cunningham wrote: > >=20 > > On Tue, 2007-05-29 at 10:19 -0400, Mark Lord wrote: > > >=20 > > > How about blocking brk() and mmap(MAP_ANONYMOUS) in addition to > > > the filesystem VFS callers? Or is that starting to get messy again? > >=20 > > Yeah. Getting messy again :) >=20 > Indeed. And also misses the point - the point being that we don't actuall= y=20 > need to freeze anything at all most of the time. There's nothing wrong=20 > with making memory allocations etc. >=20 > And yes, suspend is different from hibernate. I can see how hibernate=20 > people are worried about people writing to things after doing the=20 > snapshot, but those concerns don't exist with suspend. With suspend, the=20 > biggest concern is accessing a device after it has been suspended, but on= =20 > the other hand, also the fact that we end up having driver writers used=20 > to the system being "runnable", so they do things that really do require = a=20 > full-fledged system (and sometimes that means just some delayed action=20 > using a kernel thread, other times it seems to rely on more complex=20 > behaviour like firmware loading :^p ) Yeah, but they can't. Even after the freezing of processes has been removed from the normal suspend to ram path, we're still going to have this issue with the suspend to ram after writing a hibernation image path. Regards, Nigel --=-0/Yii8glH9GCOPVTFWuw Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGXKS8N0y+n1M3mo0RAsLsAKCQ1kLcVIuErxEjDJIaHGfTCeJZrQCcDKqv USD/koDKjzHKUC1vrPVypX0= =yScV -----END PGP SIGNATURE----- --=-0/Yii8glH9GCOPVTFWuw-- - 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/