From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757767Ab0EZVTr (ORCPT ); Wed, 26 May 2010 17:19:47 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:44536 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753696Ab0EZVTp (ORCPT ); Wed, 26 May 2010 17:19:45 -0400 From: "Rafael J. Wysocki" To: Nigel Cunningham Subject: Re: [PATCH 0/5] Preallocate swap + minor fix. Date: Wed, 26 May 2010 23:21:09 +0200 User-Agent: KMail/1.12.4 (Linux/2.6.34-tst; KDE/4.3.5; x86_64; ; ) Cc: pm list , LKML , "TuxOnIce-devel" References: <4BFCC939.1000901@crca.org.au> In-Reply-To: <4BFCC939.1000901@crca.org.au> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005262321.09971.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 26 May 2010, Nigel Cunningham wrote: > Hi all. > > In current in-kernel hibernation code, swap is allocated as the image is > being written. > > The first four patches in this series rework things so that all swap > that will be used is allocated prior to any data being written to disk. > The fourth patch might look like too much for one patch, but it's > necessary to not break bisecting. > > The fifth patch fixes a minor error in displaying the speed at which I/O > occurred. > > This is the beginning of what I hope will be a long series of sets of > patches, first working towards adding support for properly asynchronous > I/O (not batching, as is currently done), then compression, multiple > swap devices and more. In short, this is the beginning of work on > merging TuxOnIce functionality a bit at a time. > > The work is coming now because I recently finished my previous job, so > I'm seeking to get some of those jobs I've been wanting to do for a long > time out of the way. If anyone wants to employ me to do this work, I > wouldn't say no! :) > > Please excuse me if there are wrapping issues with the patches - I'm > using Thunderbird, and haven't sent a patch series for quite a while, so > don't remember the fancy git mailer way (will have to look it up). > > Rafael, these and future patches will be available at: > > git://git.kernel.org/pub/scm/linux/kernel/git/nigelc/tuxonice-head.git#for-rafael Thanks for the patches, I'll have a look at them as soon as I can. I haven't replied to your hibernation algorithm idea, mostly because I didn't have the time to look into it more thoroughly and I don't remember all of the details. I'm still going to reply to it, though. Rafael