From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757023AbXGCXJU (ORCPT ); Tue, 3 Jul 2007 19:09:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759002AbXGCXI4 (ORCPT ); Tue, 3 Jul 2007 19:08:56 -0400 Received: from gate.crashing.org ([63.228.1.57]:40457 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758117AbXGCXIz (ORCPT ); Tue, 3 Jul 2007 19:08:55 -0400 Subject: Re: [PATCH] Remove process freezer from suspend to RAM pathway From: Benjamin Herrenschmidt To: Oliver Neukum Cc: Miklos Szeredi , rjw@sisk.pl, mjg59@srcf.ucam.org, linux-kernel@vger.kernel.org, linux-pm@lists.linux-foundation.org, pavel@ucw.cz, nigel@nigel.suspend2.net In-Reply-To: <200707040004.16357.oliver@neukum.org> References: <20070703042916.GA17240@srcf.ucam.org> <200707032348.42796.oliver@neukum.org> <1183499792.3388.16.camel@localhost.localdomain> <200707040004.16357.oliver@neukum.org> Content-Type: text/plain Date: Wed, 04 Jul 2007 09:08:31 +1000 Message-Id: <1183504112.3388.45.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2007-07-04 at 00:04 +0200, Oliver Neukum wrote: > Am Dienstag, 3. Juli 2007 schrieb Benjamin Herrenschmidt: > > On Tue, 2007-07-03 at 23:48 +0200, Oliver Neukum wrote: > > > Am Dienstag, 3. Juli 2007 schrieb Benjamin Herrenschmidt: > > > > On Tue, 2007-07-03 at 21:32 +0200, Oliver Neukum wrote: > > > > > > I'm not sure why this can't be made atomic, but assuming, that it > > > > > > can't, fuse should still not need to be implicated. If it is, > > > > > that's > > > > > > an indication about something wrong in the suspend procedure. > > > > > > > > > > Nope, something's wrong in fuse. You must be able to deal with sync > > > > > until every task is frozen. > > > > > > > > Pipe dream > > > > > > Then tell me how you want to avoid that condition. > > > > Don't freeze :-) > > Then you will have to deal with all syscalls unfrozen tasks can make. Yup, and the majority of them is totally harmless. Looks like people around here have a problem with the idea of writing robust drivers ... Ben.