.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "TRY_TO_UNMAP" "" "06 October 2005" "" ""
.SH NAME
try_to_unmap \- try to remove all page table mappings to a page
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int try_to_unmap (struct page * \fIpage\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIpage\fB\fR
the page to get unmapped
.SH "DESCRIPTION"
.PP
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:
.PP
SWAP_SUCCESS - we succeeded in removing all mappings
SWAP_AGAIN - we missed a trylock, try again later
SWAP_FAIL - the page is unswappable