Home
last modified time | relevance | path

Searched hist:"3 a291a20bd6fcfafb2109031f0760a0d3e92ecd7" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/
H A Dswap.hdiff 3a291a20bd6fcfafb2109031f0760a0d3e92ecd7 Fri Jan 06 02:16:37 CST 2006 Rafael J. Wysocki <rjw@sisk.pl> [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>
/openbmc/linux/mm/
H A Dswapfile.cdiff 3a291a20bd6fcfafb2109031f0760a0d3e92ecd7 Fri Jan 06 02:16:37 CST 2006 Rafael J. Wysocki <rjw@sisk.pl> [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>