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

Miklos Szeredi
2007-07-06T09:09:43Z

> > > Moreover, if FUSE implements syncing, then the sync from within the freezer
> > > will almost certainly deadlock.
> >
> > Rafael, think positively: by the time fuse implements sync(), the
> > freezer will be long gone ;)
>
> Now you are entering really dangerous territory.
> If you can implement a meaningfull sync method, you must have dirty
> pages in the page cache. That means you are in the page freeing path
> of the vm. Then we are in real trouble. Don't even think about it.

VM induced deadlocks are real nasty. I have thought about them a lot
already. Suspend shouldn't introduce any big surprises.

Miklos