Query: filemap_fault
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FILEMAP_FAULT(9) Memory Management in Linux FILEMAP_FAULT(9)NAMEfilemap_fault - read in file data for page fault handlingSYNOPSISint filemap_fault(struct vm_area_struct * vma, struct vm_fault * vmf);ARGUMENTSvma vma in which the fault was taken vmf struct vm_fault containing details of the faultDESCRIPTIONfilemap_fault is invoked via the vma operations vector for a mapped memory region to read in file data during a page fault. The goto's are kind of ugly, but this streamlines the normal case of having it in the page cache, and handles the special cases reasonably without having a lot of duplicated code.COPYRIGHTKernel Hackers Manual 2.6. July 2010 FILEMAP_FAULT(9)