I've done some more work today. Here's an updated copy of the patches in my queue. As you'll see, I'm focussing on the low level i/o. These patches split out the more generic bio functions to block_io.c, leaving swap.c with just the swap specific functions (and, at the moment, the highlevel i/o routines). In doing this, I'm setting up a foundation for getting rid of the swap_map pages (I'll instead store extents in the image header), and through that for doing fully asynchronous I/O, which should give some speed increase. The changes also lay the groundwork for support for multiple swap devices and non-swap at a later stage. Regards, Nigel _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm