TRY_TO_UNMAP

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

 

NAME

try_to_unmap - try to remove all page table mappings to a page  

SYNOPSIS

"SYNOPSIS"

int try_to_unmap (struct page * page);  

ARGUMENTS

page
the page to get unmapped
 

DESCRIPTION

Tries to remove all the page table entries which are mapping this page, used in the pageout path. Caller must hold the page lock and its pte chain lock. Return values are:

SWAP_SUCCESS - we succeeded in removing all mappings SWAP_AGAIN - we missed a trylock, try again later SWAP_FAIL - the page is unswappable


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 13:31:55 GMT, October 06, 2005