Hibernation: Clean up userland interface
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Hibernation: Introduce SNAPSHOT_GET_IMAGE_SIZE ioctlDocumentation/ kernel/ kernel/ +1 more | +28 | 1 reply | |
| 2/5 | Hibernation: Rework platform support ioctlsDocumentation/ kernel/ kernel/ | +38 | 1 reply | |
| 3/5 | Hibernation: Correct definitions of some ioctlsDocumentation/ kernel/ kernel/ | +30 | 2 replies | |
| 4/5 | Hibernation: Mark SNAPSHOT_SET_SWAP_FILE ioctl as deprecatedDocumentation/ kernel/ kernel/ | +5 | 1 reply | |
| 5/5 | Hibernation: Introduce exportable suspend ioctls headerDocumentation/ include/ kernel/ | +39 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH -mm 0/5] Hibernation: Clean up userland interface
Hi,
This series of patches is intended to eliminate some design problems with the hibernation userland interface.
It contains the following changes:
* allow the user space utilities to get the size of the image via ioctl
* introduce ioctls to be used instead of SNAPSHOT_PMOPS
* introduce new ioctl definitions to replace the ones that depend on (void *)
* mark the SNAPSHOT_SET_SWAP_FILE ioctl as deprecated
* move the definitions of hibernation ioctls to a separate header file located in include/linux/suspend.h
The details are in the changelogs.
Comments welcome.
Greetings,
Rafael
Signature · 1 line
"Premature optimization is the root of all evil." - Donald Knuth