1VM_INSERT_PFN(9) Memory Management in Linux VM_INSERT_PFN(9)
2
3
4
6 vm_insert_pfn - insert single pfn into user vma
7
9 int vm_insert_pfn(struct vm_area_struct * vma, unsigned long addr,
10 unsigned long pfn);
11
13 vma
14 user vma to map to
15
16 addr
17 target user address of this page
18
19 pfn
20 source kernel pfn
21
23 Similar to vm_inert_page, this allows drivers to insert individual
24 pages they´ve allocated into a user vma. Same comments apply.
25
26 This function should only be called from a vm_ops->fault handler, and
27 in that case the handler should return NULL.
28
29 vma cannot be a COW mapping.
30
31 As this is called only for pages that do not currently exist, we do not
32 need to flush old virtual caches or the TLB.
33
35Kernel Hackers Manual 2.6. June 2019 VM_INSERT_PFN(9)