On 4/26/07, Linus Torvalds <torvalds@linux-foundation.org> wrote:
While the ioctl() interface is horrid, I think it's actually in
principle pretty close to your snapshot_system()/resume_snapshot().
The ugliness probably comes from the fact that suspend to RAM and
snapshot/shutdown are interleaved there too.
-