[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200707060902.55090.rjw@sisk.pl>
Date: Fri, 6 Jul 2007 09:02:53 +0200
From: "Rafael J. Wysocki" <rjw@...k.pl>
To: Pavel Machek <pavel@....cz>
Cc: pm list <linux-pm@...ts.linux-foundation.org>, nigel@...pend2.net,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
LKML <linux-kernel@...r.kernel.org>,
Matthew Garrett <mjg59@...f.ucam.org>,
Oliver Neukum <oliver@...kum.org>,
Paul Mackerras <paulus@...ba.org>,
Miklos Szeredi <miklos@...redi.hu>, Ingo Molnar <mingo@...e.hu>
Subject: Re: [RFC][PATCH -mm] PM: Do not sync filesystems from within the freezer
On Friday, 6 July 2007 00:00, Pavel Machek wrote:
> Hi!
>
> > From: Rafael J. Wysocki <rjw@...k.pl>
> >
> > The syncing of filesystems from within the freezer is generally not needed.
> > Change freeze_processes() so that it doesn't execute sys_sync() and make the
> > suspend and hibernation code path sync filesystems independently of the freezer.
>
> Yes, we can do that, but ... why?
I think that sync and the freezer are different things and shouldn't be mixed in
such a way as they are now.
> Does it actually fix FUSE?
It should prevent the freezer from deadlocking.
> Miklos claims sync is nop on FUSE...?
In that case there shouldn't be any deadlock, but a freezer failure. :-)
Greetings,
Rafael
--
"Premature optimization is the root of all evil." - Donald Knuth
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists