Re: removing refrigerator does not help with s2ram vs. fuse deadlocks (was Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway)

From: Rafael J. Wysocki
Date: Thu Jul 05 2007 - 10:57:20 EST


On Thursday, 5 July 2007 16:39, Matthew Garrett wrote:
> On Thu, Jul 05, 2007 at 04:41:39PM +0200, Rafael J. Wysocki wrote:
> > On Thursday, 5 July 2007 16:26, Matthew Garrett wrote:
> > > On Thu, Jul 05, 2007 at 04:28:11PM +0200, Rafael J. Wysocki wrote:
> > > > On Thursday, 5 July 2007 15:57, Matthew Garrett wrote:
> > > > > And also "Userland should not depend on userland services", which is
> > > > > rather more of a problem.
> > > >
> > > > I think you're oversimplifying it, as far as FUSE is concerned.
> > > >
> > > > Namely, if there are two userland tasks, A and B, and B is uninterruptible,
> > > > because A is blocked, then this is not a usual situation.
> > >
> > > Fuse is one case of it occuring, and if we end up with more userspace
> > > drivers then the problem is only going to get worse.
> >
> > But this is a problem by itself, regardless of the freezer etc., no?
>
> Why?

You have processes that don't react to signals, because some other user land
task is misbehaving. I'd call that ugly at the very least.

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/