Query: find_or_create_page
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FIND_OR_CREATE_PAGE(9) Memory Management in Linux FIND_OR_CREATE_PAGE(9)NAMEfind_or_create_page - locate or add a pagecache pageSYNOPSISstruct page * find_or_create_page(struct address_space * mapping, pgoff_t index, gfp_t gfp_mask);ARGUMENTSmapping the page's address_space index the page's index into the mapping gfp_mask page allocation modeDESCRIPTIONLocates a page in the pagecache. If the page is not present, a new page is allocated using gfp_mask and is added to the pagecache and to the VM's LRU list. The returned page is locked and has its reference count incremented. find_or_create_page may sleep, even if gfp_flags specifies an atomic allocation! find_or_create_page returns the desired page's address, or zero on memory exhaustion.COPYRIGHTKernel Hackers Manual 2.6. July 2010 FIND_OR_CREATE_PAGE(9)
Related Man Pages |
---|
call_usermodehelper_setup(9) - centos |
__get_user_pages(9) - centos |
bio_alloc_bioset(9) - centos |
blk_make_request(9) - centos |
blk_make_request(9) - suse |
Similar Topics in the Unix Linux Community |
---|
Change directory error |
SOCKS proxy & PAM configuration exposure |
Tar Command |
A (ksh) Library For and From UNIX.com |
Shopt -s histappend |