1FILEMAP_FAULT(9) Memory Management in Linux FILEMAP_FAULT(9)
2
3
4
6 filemap_fault - read in file data for page fault handling
7
9 int filemap_fault(struct vm_area_struct * vma, struct vm_fault * vmf);
10
12 vma
13 vma in which the fault was taken
14
15 vmf
16 struct vm_fault containing details of the fault
17
19 filemap_fault is invoked via the vma operations vector for a mapped
20 memory region to read in file data during a page fault.
21
22 The goto's are kind of ugly, but this streamlines the normal case of
23 having it in the page cache, and handles the special cases reasonably
24 without having a lot of duplicated code.
25
27Kernel Hackers Manual 3.10 June 2019 FILEMAP_FAULT(9)