Re: [linux-pm] Re: Hibernation considerations

Miklos Szeredi
2007-07-23T14:07:36Z

> Alan has recently proposed to introduce "suspend locks" to be acquired during
> a suspend/hibernation and such that we can leave uninterruptible tasks that
> don't hold any of them.

Sounds sane. A global rwsem could be acquired for read by drivers,
and for write by suspend/hibernate. Just need to add it to all
drivers that have PM, but that shouldn't need a heroic effort.

Miklos