Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753856AbXEXW0M (ORCPT ); Thu, 24 May 2007 18:26:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751450AbXEXWZ5 (ORCPT ); Thu, 24 May 2007 18:25:57 -0400 Received: from smtp1.linux-foundation.org ([207.189.120.13]:48565 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750885AbXEXWZ4 (ORCPT ); Thu, 24 May 2007 18:25:56 -0400 Date: Thu, 24 May 2007 15:23:56 -0700 (PDT) From: Linus Torvalds To: Pavel Machek 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 In-Reply-To: Message-ID: References: <20070521191612.800400000@sous-sol.org> <4652070D.3090509@redhat.com> <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 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 883 Lines: 28 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. I'm personally really really convinced that the whole freezer thing is a total disaster. I don't know how anybody can even imagine anything else. It's simply deadlock city. We should freeze IO, not processes. Linus - 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/