Re: [PATCH] swsusp: separate swap-writing/reading code
From: Nigel Cunningham
Date: Thu Mar 23 2006 - 16:12:32 EST
Hi.
On Friday 24 March 2006 03:02, Linux Kernel Mailing List wrote:
> commit 61159a314bca6408320c3173c1282c64f5cdaa76
> tree 8e1b7627443da0fd52b2fac66366dde9f7871f1e
> parent f577eb30afdc68233f25d4d82b04102129262365
> author Rafael J. Wysocki <rjw@xxxxxxx> Thu, 23 Mar 2006 19:00:00 -0800
> committer Linus Torvalds <torvalds@xxxxxxxxxxx> Thu, 23 Mar 2006 23:38:07
> -0800
>
> [PATCH] swsusp: separate swap-writing/reading code
>
> Move the swap-writing/reading code of swsusp to a separate file.
>
> Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
> Acked-by: Pavel Machek <pavel@xxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
> Signed-off-by: Linus Torvalds <torvalds@xxxxxxxx>
I guess I missed this one somehow. Using a bitmap for allocated swap is really
inefficient because the values are usually not fragmented much. Extents would
have been a far better choice.
Regards,
Nigel
Attachment:
pgp00000.pgp
Description: PGP signature