Rafael J. Wysocki 3a291a20bd [PATCH] mm: add a new function (needed for swap suspend)
This adds the function get_swap_page_of_type() allowing us to specify an index
in swap_info[] and select a swap_info_struct structure to be used for
allocating a swap page.

This function (or another one of similar functionality) will be necessary for
implementing the image-writing part of swsusp in the user space.   It can also
be used for simplifying the current in-kernel implementation of the
image-writing part of swsusp.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-06 08:33:43 -08:00
..
2005-06-24 00:06:41 -07:00
2005-10-28 08:16:51 -07:00
2006-01-06 08:33:27 -08:00
2005-10-28 08:16:47 -07:00
2005-04-16 15:20:36 -07:00
2005-11-28 14:34:23 -08:00
2006-01-06 08:33:29 -08:00
2005-10-29 21:40:42 -07:00
2005-04-16 15:20:36 -07:00
2006-01-06 08:33:29 -08:00
2006-01-06 08:33:29 -08:00