User: Password:
Subscribe / Log in / New account

Hibernation: Clean up userland interface (rev. 2)

From:  "Rafael J. Wysocki" <>
To:  pm list <>
Subject:  [PATCH -mm 0/5] Hibernation: Clean up userland interface (rev. 2)
Date:  Sun, 9 Sep 2007 22:57:15 +0200
Message-ID:  <>
Cc:  LKML <>, Pavel Machek <>, Johannes Berg <>
Archive-link:  Article


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.


"Premature optimization is the root of all evil." - Donald Knuth

Copyright © 2007, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds