replace_page_cache_page man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

REPLACE_PAGE_CACHE_P(9)	  Memory Management in Linux   REPLACE_PAGE_CACHE_P(9)

NAME
       replace_page_cache_page - replace a pagecache page with a new one

SYNOPSIS
       int replace_page_cache_page(struct page * old, struct page * new,
				   gfp_t gfp_mask);

ARGUMENTS
       old
	   page to be replaced

       new
	   page to replace with

       gfp_mask
	   allocation mode

DESCRIPTION
       This function replaces a page in the pagecache with a new one. On
       success it acquires the pagecache reference for the new page and drops
       it for the old page. Both the old and new pages must be locked. This
       function does not add the new page to the LRU, the caller must do that.

       The remove + add is atomic. The only way this function can fail is
       memory allocation failure.

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013	       REPLACE_PAGE_CACHE_P(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net