Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-12 Thread Pavel Machek
Hi! > > They will not trigger 100% of the time, but sporadically and generally at > > random. > > > > At least the freezer problems are reproducible. ;-) > > Our experience with powermacs has been that it isn't actually all that > hard to get it right for the drivers you care about. So... will

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Alan Stern
On Thu, 5 Jul 2007, Miklos Szeredi wrote: > > > Alan Stern writes: > > > > > > > Remember what I wrote a few minutes ago about khubd and ksuspend_usbd > > > > wanting to resume devices during a system suspend transition? This is > > > > exactly what happens when those threads aren't frozen. > >

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Miklos Szeredi
> > Umm, and CODA which is _very_ similar to fuse was there long before > > fuse or the freezer ;) > > > > I did userfs around 1994-5. Yes, fuse didn't in fact have very much original idea in it. It was just putting all the pieces together to make a stable and useful userspace filesystem fram

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Miklos Szeredi
> > Alan Stern writes: > > > > > Remember what I wrote a few minutes ago about khubd and ksuspend_usbd > > > wanting to resume devices during a system suspend transition? This is > > > exactly what happens when those threads aren't frozen. > > > > So, I wonder why I don't see that error on my po

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Jeremy Fitzhardinge
Miklos Szeredi wrote: Umm, and CODA which is _very_ similar to fuse was there long before fuse or the freezer ;) I did userfs around 1994-5. J - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at h

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Alan Stern
On Thu, 5 Jul 2007, Paul Mackerras wrote: > Alan Stern writes: > > > Remember what I wrote a few minutes ago about khubd and ksuspend_usbd > > wanting to resume devices during a system suspend transition? This is > > exactly what happens when those threads aren't frozen. > > So, I wonder why I

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Rafael J. Wysocki
On Thursday, 5 July 2007 14:50, Johannes Berg wrote: > On Thu, 2007-07-05 at 14:51 +0200, Rafael J. Wysocki wrote: > > > > > Remember what I wrote a few minutes ago about khubd and ksuspend_usbd > > > > wanting to resume devices during a system suspend transition? This is > > > > exactly what hap

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Johannes Berg
On Thu, 2007-07-05 at 14:51 +0200, Rafael J. Wysocki wrote: > > > Remember what I wrote a few minutes ago about khubd and ksuspend_usbd > > > wanting to resume devices during a system suspend transition? This is > > > exactly what happens when those threads aren't frozen. > > > > So, I wonder wh

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Miklos Szeredi
> > > PF_FREEZER_SKIP flag. Perhaps we can do similar thing with FUSE. > > > > It cannot be just worked around in fuse, as a task might be sleeping > > on a number of VFS mutexes as well (i_mutex, s_vfs_rename_mutex, etc). > > It would be a gigantic hack, possible at all. > > Well, obviously FUS

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Rafael J. Wysocki
On Thursday, 5 July 2007 02:36, Paul Mackerras wrote: > Alan Stern writes: > > > Remember what I wrote a few minutes ago about khubd and ksuspend_usbd > > wanting to resume devices during a system suspend transition? This is > > exactly what happens when those threads aren't frozen. > > So, I wo

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Rafael J. Wysocki
On Thursday, 5 July 2007 02:43, Paul Mackerras wrote: > Miklos Szeredi writes: > > > OK, let me summarize the situation as I see it now: there are two > > camps, the pro-freezers and the anti-freezers. > > > > Pro-freezers say: > > > > - don't remove the freezer, otherwise we'll have to deal w

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Rafael J. Wysocki
On Thursday, 5 July 2007 10:37, Miklos Szeredi wrote: > > > Pro-freezers say: > > > > > > - don't remove the freezer, otherwise we'll have to deal with > > > numerous problems in drivers > > > > And these problems will generally be difficult to reproduce reliably > > and debug. > > I see e

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Rafael J. Wysocki
On Thursday, 5 July 2007 02:29, Paul Mackerras wrote: > Rafael J. Wysocki writes: > > > They will not trigger 100% of the time, but sporadically and generally at > > random. > > > > At least the freezer problems are reproducible. ;-) > > Our experience with powermacs has been that it isn't actua

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Miklos Szeredi
> > Pro-freezers say: > > > > - don't remove the freezer, otherwise we'll have to deal with > > numerous problems in drivers > > And these problems will generally be difficult to reproduce reliably > and debug. I see exactly the opposite. With the freezer I can have very rarely occuring f

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Paul Mackerras
Alan Stern writes: > Remember what I wrote a few minutes ago about khubd and ksuspend_usbd > wanting to resume devices during a system suspend transition? This is > exactly what happens when those threads aren't frozen. So, I wonder why I don't see that error on my powerbook? Paul. - To unsubsc

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Paul Mackerras
Miklos Szeredi writes: > OK, let me summarize the situation as I see it now: there are two > camps, the pro-freezers and the anti-freezers. > > Pro-freezers say: > > - don't remove the freezer, otherwise we'll have to deal with > numerous problems in drivers > > Anti-freezers say: > >

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Paul Mackerras
Rafael J. Wysocki writes: > They will not trigger 100% of the time, but sporadically and generally at > random. > > At least the freezer problems are reproducible. ;-) Our experience with powermacs has been that it isn't actually all that hard to get it right for the drivers you care about. Pau

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Rafael J. Wysocki
On Wednesday, 4 July 2007 21:25, Miklos Szeredi wrote: > > Remember what I wrote a few minutes ago about khubd and ksuspend_usbd > > wanting to resume devices during a system suspend transition? This is > > exactly what happens when those threads aren't frozen. > > OK, let me summarize the situat

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Miklos Szeredi
> Remember what I wrote a few minutes ago about khubd and ksuspend_usbd > wanting to resume devices during a system suspend transition? This is > exactly what happens when those threads aren't frozen. OK, let me summarize the situation as I see it now: there are two camps, the pro-freezers and th

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Alan Stern
On Wed, 4 Jul 2007, Alan Stern wrote: > > Threads that do no I/O at all don't care about suspend/resume and > > don't need to be frozen in any case. Threads that issue I/O requests > > in order to service incoming I/O requests can't be frozen because of > > the possibility of deadlock. Which lea

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Alan Stern
On Wed, 4 Jul 2007, Matthew Garrett wrote: > On Wed, Jul 04, 2007 at 10:38:47AM -0400, Alan Stern wrote: > > > Okay, I agree that (1) can be handled without too much effort. But > > doing it adds an extra test to _every_ driver's I/O pathway. Freezing > > userspace does not incur all this add

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Alan Stern
On Wed, 4 Jul 2007, Miklos Szeredi wrote: > And we won't know if drivers are OK until we remove the freezer, > catch-22. > > So I think we need to disable the freezer at least in -mm and/or > optionally in -linus. > > I applied Matthew's patch, and suspend did in fact stop working > (thinkpad t6

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Alan Stern
On Wed, 4 Jul 2007, Paul Mackerras wrote: > Rafael J. Wysocki writes: > > > They are mostly related to kernel threads, that we've already agreed no to > > freeze (except for the ones that want that, but they will be responsible for > > getting everything right). The initial patches for that are

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Rafael J. Wysocki
On Wednesday, 4 July 2007 17:03, Oliver Neukum wrote: > Am Mittwoch, 4. Juli 2007 schrieb Miklos Szeredi: > > > > And we won't know if drivers are OK until we remove the freezer, > > > > catch-22. > > > > > > I disagree.  We can learn that by auditing the drivers. > > > > In theory, yes.  But it

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Oliver Neukum
Am Mittwoch, 4. Juli 2007 schrieb Miklos Szeredi: > > > And we won't know if drivers are OK until we remove the freezer, > > > catch-22. > > > > I disagree.  We can learn that by auditing the drivers. > > In theory, yes.  But it scales far worse than letting everyone > experiment/report/fix probl

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Oliver Neukum
Am Mittwoch, 4. Juli 2007 schrieb Matthew Garrett: > On Wed, Jul 04, 2007 at 10:38:47AM -0400, Alan Stern wrote: > > > Okay, I agree that (1) can be handled without too much effort.  But > > doing it adds an extra test to _every_ driver's I/O pathway.  Freezing > > userspace does not incur all t

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Matthew Garrett
On Wed, Jul 04, 2007 at 10:38:47AM -0400, Alan Stern wrote: > Okay, I agree that (1) can be handled without too much effort. But > doing it adds an extra test to _every_ driver's I/O pathway. Freezing > userspace does not incur all this additional overhead. For runtime PM to work it's already

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Miklos Szeredi
> On Wednesday, 4 July 2007 13:51, Miklos Szeredi wrote: > > > Still, my position is this: > > > > > > 1) The freezer (in the modified form, with the freezing of kernel threads > > > limited to the ones that want to be frozen) is needed for hibernation. > > > > > > 2) The freezer is generally not

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Alan Stern
On Tue, 3 Jul 2007, Matthew Garrett wrote: > On Tue, Jul 03, 2007 at 06:21:42PM -0400, Alan Stern wrote: > > On Tue, 3 Jul 2007, Matthew Garrett wrote: > > > We're used to the idea of applications blocking when a resource they're > > > using goes away - NFS has done it forever. > > > > You pers

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Rafael J. Wysocki
On Wednesday, 4 July 2007 13:51, Miklos Szeredi wrote: > > Still, my position is this: > > > > 1) The freezer (in the modified form, with the freezing of kernel threads > > limited to the ones that want to be frozen) is needed for hibernation. > > > > 2) The freezer is generally not needed for su

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Rafael J. Wysocki
On Wednesday, 4 July 2007 14:41, Theodore Tso wrote: > On Wed, Jul 04, 2007 at 01:25:55PM +0200, Rafael J. Wysocki wrote: > > > Don't know what exactly? > > > > How many drivers will be adversely affected by the $subject change. > > Ok, so how about a CONFIG option which removes the freezer, so w

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Dmitry Torokhov
On 7/4/07, Paul Mackerras <[EMAIL PROTECTED]> wrote: Rafael J. Wysocki writes: > They are mostly related to kernel threads, that we've already agreed no to > freeze (except for the ones that want that, but they will be responsible for > getting everything right). The initial patches for that ar

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Theodore Tso
On Wed, Jul 04, 2007 at 01:25:55PM +0200, Rafael J. Wysocki wrote: > > Don't know what exactly? > > How many drivers will be adversely affected by the $subject change. Ok, so how about a CONFIG option which removes the freezer, so we can find out experimentally how many people without it? We can

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Miklos Szeredi
> Still, my position is this: > > 1) The freezer (in the modified form, with the freezing of kernel threads > limited to the ones that want to be frozen) is needed for hibernation. > > 2) The freezer is generally not needed for suspend, _but_ there are drivers > in the tree that rely on it being

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Paul Mackerras
Rafael J. Wysocki writes: > They are mostly related to kernel threads, that we've already agreed no to > freeze (except for the ones that want that, but they will be responsible for > getting everything right). The initial patches for that are in -mm and more > will come. Serious question: which

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Rafael J. Wysocki
On Wednesday, 4 July 2007 12:58, Paul Mackerras wrote: > Rafael J. Wysocki writes: > > > Okay, so in fact you don't know. > > Don't know what exactly? How many drivers will be adversely affected by the $subject change. > It has been a while since I had my head in the USB code. I assume > it's

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Paul Mackerras
Rafael J. Wysocki writes: > Okay, so in fact you don't know. Don't know what exactly? It has been a while since I had my head in the USB code. I assume it's being maintained by competent people. :) > And that's my point in this thread. Well, I'd be interested in hearing from Matthew whether h

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Rafael J. Wysocki
On Wednesday, 4 July 2007 05:38, Paul Mackerras wrote: > Rafael J. Wysocki writes: > > > Now, please tell me how many driver writers even thought that something > > might try to access their devices after .suspend() had been executed (or > > even whilie it was being executed)? > > Well, I believe

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-04 Thread Rafael J. Wysocki
On Wednesday, 4 July 2007 02:34, Matthew Garrett wrote: > On Tue, Jul 03, 2007 at 06:17:04PM -0600, Robert Hancock wrote: > > Matthew Garrett wrote: > > >Leave the process blocked and defer any i/o until after resume. Why does > > >it need to be any more complicated than that? > > > > It gets com

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Paul Mackerras
Rafael J. Wysocki writes: > Now, please tell me how many driver writers even thought that something > might try to access their devices after .suspend() had been executed (or > even whilie it was being executed)? Well, I believe that the USB framework copes with this, except possibly for some cor

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Matthew Garrett
On Tue, Jul 03, 2007 at 06:17:04PM -0600, Robert Hancock wrote: > Matthew Garrett wrote: > >Leave the process blocked and defer any i/o until after resume. Why does > >it need to be any more complicated than that? > > It gets complicated when this has to be added and TESTED in EVERY > driver. Th

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Robert Hancock
Matthew Garrett wrote: On Tue, Jul 03, 2007 at 06:21:42PM -0400, Alan Stern wrote: On Tue, 3 Jul 2007, Matthew Garrett wrote: We're used to the idea of applications blocking when a resource they're using goes away - NFS has done it forever. You persist in evading my point. I'm not worried abo

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Matthew Garrett
On Tue, Jul 03, 2007 at 06:21:42PM -0400, Alan Stern wrote: > On Tue, 3 Jul 2007, Matthew Garrett wrote: > > We're used to the idea of applications blocking when a resource they're > > using goes away - NFS has done it forever. > > You persist in evading my point. I'm not worried about applicat

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Rafael J. Wysocki
On Tuesday, 3 July 2007 23:36, Matthew Garrett wrote: > On Tue, Jul 03, 2007 at 11:37:51PM +0200, Rafael J. Wysocki wrote: > > On Tuesday, 3 July 2007 23:20, Matthew Garrett wrote: > > > We're used to the idea of applications blocking when a resource they're > > > using goes away - NFS has done it

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Alan Stern
On Tue, 3 Jul 2007, Matthew Garrett wrote: > On Tue, Jul 03, 2007 at 05:16:37PM -0400, Alan Stern wrote: > > On Tue, 3 Jul 2007, Matthew Garrett wrote: > > > But that's fine - "Are we undergoing a systemwide suspend" is an easy > > > question to ask. Freezing processes instead means that most of

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Oliver Neukum
Am Dienstag, 3. Juli 2007 schrieb Matthew Garrett: > On Tue, Jul 03, 2007 at 11:37:51PM +0200, Rafael J. Wysocki wrote: > > On Tuesday, 3 July 2007 23:20, Matthew Garrett wrote: > > > We're used to the idea of applications blocking when a resource they're > > > using goes away - NFS has done it fo

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Matthew Garrett
On Tue, Jul 03, 2007 at 11:37:51PM +0200, Rafael J. Wysocki wrote: > On Tuesday, 3 July 2007 23:20, Matthew Garrett wrote: > > We're used to the idea of applications blocking when a resource they're > > using goes away - NFS has done it forever. > > Now, please tell me how many driver writers ev

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Rafael J. Wysocki
On Tuesday, 3 July 2007 23:20, Matthew Garrett wrote: > On Tue, Jul 03, 2007 at 05:16:37PM -0400, Alan Stern wrote: > > On Tue, 3 Jul 2007, Matthew Garrett wrote: > > > But that's fine - "Are we undergoing a systemwide suspend" is an easy > > > question to ask. Freezing processes instead means tha

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Matthew Garrett
On Tue, Jul 03, 2007 at 05:16:37PM -0400, Alan Stern wrote: > On Tue, 3 Jul 2007, Matthew Garrett wrote: > > But that's fine - "Are we undergoing a systemwide suspend" is an easy > > question to ask. Freezing processes instead means that most of those > > paths will never be tested. > > The ques

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Alan Stern
On Tue, 3 Jul 2007, Matthew Garrett wrote: > On Tue, Jul 03, 2007 at 05:10:08PM -0400, Alan Stern wrote: > > > No, no -- you have it exactly backwards. Removing the freezer turns > > STR into something _less_ like runtime suspend, because it adds the > > requirement that devices must not autom

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Matthew Garrett
On Tue, Jul 03, 2007 at 05:10:08PM -0400, Alan Stern wrote: > No, no -- you have it exactly backwards. Removing the freezer turns > STR into something _less_ like runtime suspend, because it adds the > requirement that devices must not automatically be resumed when an I/O > request arrives. B

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Alan Stern
On Tue, 3 Jul 2007, Matthew Garrett wrote: > See the start of this thread. It's just not clear what the freezer buys > us - removing it gets rid of a load of subtle issues and complexity, and > turns system suspend into something that looks more like runtime > suspend (which might then encourag

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Matthew Garrett
On Tue, Jul 03, 2007 at 03:54:55PM -0400, Alan Stern wrote: > On Tue, 3 Jul 2007, Matthew Garrett wrote: > > There's nothing wrong with it as such, it's just that our implementation > > appears to suck in a myriad of small ways that keep cropping up and > > biting people. Even without the sys_syn

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Alan Stern
On Tue, 3 Jul 2007, Matthew Garrett wrote: > > I agree that in general the suspend process should not have to wait for > > a userspace callback to complete. Indeed, there's no particular > > reason that anything running during STR should have to wait for > > something in userspace to complete.

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Matthew Garrett
On Tue, Jul 03, 2007 at 03:33:40PM -0400, Alan Stern wrote: > On Tue, 3 Jul 2007, Matthew Garrett wrote: > > > On Tue, Jul 03, 2007 at 12:57:17PM -0400, Alan Stern wrote: > > > On Tue, 3 Jul 2007, Matthew Garrett wrote: > > > > For the suspend to RAM case, that sounds absolutely fine. > > > > > >

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Alan Stern
On Tue, 3 Jul 2007, Matthew Garrett wrote: > On Tue, Jul 03, 2007 at 12:57:17PM -0400, Alan Stern wrote: > > On Tue, 3 Jul 2007, Matthew Garrett wrote: > > > On Tue, Jul 03, 2007 at 12:03:33PM -0400, Alan Stern wrote: > > > > Quite apart from the sync() matter, _any_ synchronous call to a FUSE >

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Matthew Garrett
On Tue, Jul 03, 2007 at 12:57:17PM -0400, Alan Stern wrote: > On Tue, 3 Jul 2007, Matthew Garrett wrote: > > On Tue, Jul 03, 2007 at 12:03:33PM -0400, Alan Stern wrote: > > > Quite apart from the sync() matter, _any_ synchronous call to a FUSE > > > filesystem during STR will cause trouble. Even

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Alan Stern
On Tue, 3 Jul 2007, Matthew Garrett wrote: > On Tue, Jul 03, 2007 at 12:03:33PM -0400, Alan Stern wrote: > > On Tue, 3 Jul 2007, Matthew Garrett wrote: > > > > > Suspend to RAM on a machine with / on a fuse filesystem turns out to be > > > a screaming nightmare - either the suspend fails because

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Matthew Garrett
On Tue, Jul 03, 2007 at 12:03:33PM -0400, Alan Stern wrote: > On Tue, 3 Jul 2007, Matthew Garrett wrote: > > > Suspend to RAM on a machine with / on a fuse filesystem turns out to be > > a screaming nightmare - either the suspend fails because syslog (for > > instance) can't be frozen, or the ma

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Alan Stern
On Tue, 3 Jul 2007, Matthew Garrett wrote: > Suspend to RAM on a machine with / on a fuse filesystem turns out to be > a screaming nightmare - either the suspend fails because syslog (for > instance) can't be frozen, or the machine deadlocks for some other > reason I haven't tracked down. We co

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-03 Thread Rafael J. Wysocki
On Tuesday, 3 July 2007 07:49, Benjamin Herrenschmidt wrote: > On Tue, 2007-07-03 at 05:29 +0100, Matthew Garrett wrote: > > Suspend to RAM on a machine with / on a fuse filesystem turns out to be > > a screaming nightmare - either the suspend fails because syslog (for > > instance) can't be froz

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-02 Thread Benjamin Herrenschmidt
On Tue, 2007-07-03 at 05:29 +0100, Matthew Garrett wrote: > Suspend to RAM on a machine with / on a fuse filesystem turns out to be > a screaming nightmare - either the suspend fails because syslog (for > instance) can't be frozen, or the machine deadlocks for some other > reason I haven't track