Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751437AbXEXWk2 (ORCPT ); Thu, 24 May 2007 18:40:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750729AbXEXWkT (ORCPT ); Thu, 24 May 2007 18:40:19 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:44346 "EHLO amd.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750741AbXEXWkR (ORCPT ); Thu, 24 May 2007 18:40:17 -0400 Date: Fri, 25 May 2007 00:39:59 +0200 From: Pavel Machek To: Linus Torvalds Cc: 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" Subject: Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable review Message-ID: <20070524223959.GF9604@elf.ucw.cz> References: <20070521212522.GL3429@sequoia.sous-sol.org> <1179870110.16656.2.camel@localhost> <1180008394.15600.26.camel@localhost> <20070524200435.GA9604@elf.ucw.cz> <20070524220017.GC9604@elf.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.11+cvs20060126 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1115 Lines: 32 On Thu 2007-05-24 15:23:56, Linus Torvalds wrote: > > > On Thu, 24 May 2007, Linus Torvalds wrote: > > > > Then, what you do is: > > - stop user space > > - suspend > > - resume > > - start user space > > Btw, this is where things like "udevd" can be really problematic. That > whole "uevent over netlink" stuff is really nasty for things like this. > > It's quite possible that even for user-level threads, we simply MUST NOT > freeze them the way we do. Exactly because of deadlocks. Killing freezer will not help you in any way. udevd may need access to arbitrary devices. You will still have the deadlocks, only this time userland will be involved, too. Just load the firmware before starting suspend. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html - 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/