Hi,
I'd like to modify the kernel's behavior related to the SNAPSHOT_PMOPS
ioctl. Namely, currently PMOPS_ENTER works regardless of the value
of "suspend mode" indicated by "cat /sys/power/disk". This doesn't seem to
be quite right to me, so I'd like to make s2disk set "/sys/power/disk" to
"platform" before the suspend if there's "shutdown mode = platform" in the
configuration file.
This change would allow me to turn PMOPS_PREPARE and PMOPS_FINISH into noops
and reduce some kernel code duplication between kernel/power/disk.c and
kernel/power/user.c .
Comments welcome.
Greetings,
Rafael
--
If you don't have the time to read,
you don't have the time or the tools to write.
- Stephen King
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Suspend-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/suspend-devel