WRITE_SWAP_PAGE

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

write_swap_page - Write one page to a fresh swap location.  

SYNOPSIS

"SYNOPSIS"

int write_swap_page (unsigned long addr, swp_entry_t * loc);  

ARGUMENTS

addr
Address we're writing.
loc
Place to store the entry we used.
 

DESCRIPTION

Allocate a new swap entry and 'sync' it. Note we discard -EIO errors. That is an artifact left over from swsusp. It did not check the return of rw_swap_page_sync at all, since most pages written back to swap would return -EIO. This is a partial improvement, since we will at least return other errors, though we need to eventually fix the damn code.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 06:21:17 GMT, October 06, 2005