From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: [PATCH -mm 0/5] Hibernation: Clean up userland interface Date: Sun, 2 Sep 2007 23:15:59 +0200 Message-ID: <200709022315.59652.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Pavel Machek Cc: pm list List-Id: linux-pm@vger.kernel.org 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 -- "Premature optimization is the root of all evil." - Donald Knuth