Linux Kernel Architecture
Chapter 4: Virtual Process Memory can_vma_merge_afterhelper function. The work of merging a region with its predecessor region l ...
Chapter 4: Virtual Process Memory insert_vm_struct find_vma_prepare vma_link _ _vma_link _ _vma_link_list _ _vma_link_rb _ _anon ...
Chapter 4: Virtual Process Memory mm/mmap.c unsigned long get_unmapped_area(struct file *file, unsigned long addr, unsigned long ...
Chapter 4: Virtual Process Memory The actual iteration begins either at the address of the last ‘‘hole‘‘ in the virtual address ...
Chapter 4: Virtual Process Memory However, the operation has no information on the mapping type or on its properties. As there a ...
Chapter 4: Virtual Process Memory The implementation offilemap_faultuses thereadpagemethod of the underlying mapping and there- ...
Chapter 4: Virtual Process Memory A combination ofPROT_EXEC,PROT_READ,PROT_WRITE,andPROT_NONEvalues can be used to define access ...
Chapter 4: Virtual Process Memory Theget_unmapped_areafunction described in Section 4.5.4 is first invoked to find a suitable ar ...
Chapter 4: Virtual Process Memory Once the kernel has granted the desired memory, the following steps are taken: Allocation and ...
Chapter 4: Virtual Process Memory Split region? do_munmap find_vma_prev find_vma split_vma split_vma detach_vmas_to_be_unmapped ...
Chapter 4: Virtual Process Memory 4.7.3 Nonlinear Mappings As just demonstrated, normal mappings map a continuous section from a ...
Chapter 4: Virtual Process Memory pte_file(pte)checks if a given page table entry is used to represent a nonlinear mapping. Thi ...
Chapter 4: Virtual Process Memory VM_NONLINEAR notset? Check flags and sizes vma_prio_tree_remove vma_nonlinear_insert populate_ ...
Chapter 4: Virtual Process Memory install_file_ptefirst removes any existing page table entry withzap_file_pteand then construct ...
Chapter 4: Virtual Process Memory assigns physical pages to hold mapping data in Section 4.10 notes that there is then a need fo ...
Chapter 4: Virtual Process Memory } shared; /* * A file’s MAP_PRIVATE vma can be in both i_mmap tree and anon_vma * list, after ...
Chapter 4: Virtual Process Memory The address of theanon_vmalist head is stored in themappingelement of thepageinstance afterPAG ...
Chapter 4: Virtual Process Memory if (!page_mapped(page)) goto out; anon_vma = (struct anon_vma *) (anon_mapping - PAGE_MAPPING_ ...
Chapter 4: Virtual Process Memory It checks whether the_PAGE_ACCESSEDbit is set in the page table entry and then deletes the bi ...
Chapter 4: Virtual Process Memory The heap is a contiguous memory area that grows from bottom to top when expanded. Themm_struct ...
«
13
14
15
16
17
18
19
20
21
22
»
Free download pdf