Info about suspend-to-disk
Eric McCorkle
eric at metricspace.net
Tue Aug 23 04:12:16 UTC 2016
Hi everyone,
I'm gathering information in preparation for possibly working on
suspend-to-disk functionality. I have a fairly good idea of what it
would take and one way to attack it. The overall plan would look
something like this:
* Use dump functionality to write an entire OS image out to disk. As
this is a voluntary dump, it should be possible to go through the FS
interface to produce a regular file.
* Modify boot1 to check for saved images. Load and resume if one exists.
* Presumably there would need to be some new device methods added to do
saving/reinitialization of devices.
The major open questions for me are the following:
* Is there/has there been significant work in this direction?
* Is there perhaps a better strategy?
* Do the codepaths currently exist to allow dump functionality to write
to a regular file in the case of a voluntary dump, or would this need to
be added?
* What would be the most sensible default behavior for device
hibernate/unhibernate methods?
* Any other significant issues
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20160822/4b1118d1/attachment.sig>
More information about the freebsd-hackers
mailing list