Re: [PATCH 05/22] Hibernation: Switch to preallocating swap.

From: Rafael J. Wysocki
Date: Sat Sep 25 2010 - 18:23:26 EST


On Saturday, September 25, 2010, Nigel Cunningham wrote:
> Morning.
>
> On 26/09/10 07:24, Rafael J. Wysocki wrote:
> > On Saturday, September 25, 2010, Nigel Cunningham wrote:
> >> Switch from allocating swap as the image is written to allocating
> >> storage prior to writing the image.
> >
> > Hmm, I think I know what the patch does, but I don't really understand the
> > changelog. Care to explain/fix?
>
> Sure. I was a little terse, wasn't I? :)
>
> Prior to this patch, we allocated swap as we were writing the image.
> This patch changes things so that we instead allocate all the swap we'll
> need prior to starting to write the image. It lays groundwork for later
> patches that switch from doing I/O in batches.

Good. I'll use the above as a replacement changelog if you don't mind.

Thanks,
Rafael
--
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/