Andrew Morton 546e0d2719 [PATCH] swsusp: read speedup
Implement async reads for swsusp resuming.

Crufty old PIII testbox:
	15.7 MB/s -> 20.3 MB/s

Sony Vaio:
	14.6 MB/s -> 33.3 MB/s

I didn't implement the post-resume bio_set_pages_dirty().  I don't really
understand why resume needs to run set_page_dirty() against these pages.

It might be a worry that this code modifies PG_Uptodate, PG_Error and
PG_Locked against the image pages.  Can this possibly affect the resumed-into
kernel?  Hopefully not, if we're atomically restoring its mem_map?

Cc: Pavel Machek <pavel@ucw.cz>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Jens Axboe <axboe@suse.de>
Cc: Laurent Riffard <laurent.riffard@free.fr>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-26 08:48:58 -07:00
..
2006-09-26 08:48:58 -07:00
2006-09-11 13:32:30 -04:00
2005-04-16 15:20:36 -07:00
2006-09-01 11:39:08 -07:00
2006-03-26 08:57:03 -08:00
2005-10-08 15:00:57 -07:00
2006-09-16 12:54:32 -07:00
2006-07-03 15:27:04 -07:00
2005-04-16 15:20:36 -07:00
2006-09-06 11:00:01 -07:00
2006-04-19 16:27:18 -07:00
2006-07-10 13:24:25 -07:00