On Tuesday, 3 July 2007 20:26, Oliver Neukum wrote: > Am Dienstag, 3. Juli 2007 schrieb Rafael J. Wysocki: > > > > The main reason for deadlocks is because we do a sys_sync() after the > > > > freeze, which we shouldn't do. > > > > > > So why don't we remove the sys_sync() from freeze_processes() instead? > > > > The patch follows (untested). > > And a further question. The freezer is not atomic. What do you do > if a task not yet frozen calls sys_sync(), but fuse is already frozen? Hmm, if the sync is interruptible (I'm not sure), the task should be frozen while waiting for it to complete. Otherwise, the freezing of tasks will fail (no deadlock). Greetings, Rafael -- "Premature optimization is the root of all evil." - Donald Knuth _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm