| From: |
| "Rafael J. Wysocki" <rjw@sisk.pl> |
| To: |
| pm list <linux-pm@lists.linux-foundation.org> |
| Subject: |
| [PATCH -mm 0/5] Hibernation: Clean up userland interface (rev. 2) |
| Date: |
| Sun, 9 Sep 2007 22:57:15 +0200 |
| Message-ID: |
| <200709092257.16085.rjw@sisk.pl> |
| Cc: |
| LKML <linux-kernel@vger.kernel.org>, Pavel Machek <pavel@ucw.cz>,
Johannes Berg <johannes@sipsolutions.net> |
| Archive-link: |
| Article,
Thread
|
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
* mark the SNAPSHOT_SET_SWAP_FILE ioctl as deprecated
* introduce new ioctl definitions to replace the wrongly defined ones
* move the definitions of hibernation ioctls to a separate header file located
in include/linux/ and export them to the user space
The details are in the changelogs.
Comments welcome.
Greetings,
Rafael
--
"Premature optimization is the root of all evil." - Donald Knuth