Re: [PATCH 0/5] Preallocate swap + minor fix.

From: Nigel Cunningham
Date: Wed May 26 2010 - 21:32:07 EST


Hi.

On 27/05/10 07:21, Rafael J. Wysocki wrote:
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.

Thank you! I've got other stuff to work on today, but hope to prepare another set of patches tomorrow.

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.

Thanks.

Nigel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/