Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\hugetlb.c Create Date:2022-07-28 15:28:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:unmap_hugepage_range

Proto:void unmap_hugepage_range(struct vm_area_struct *vma, unsigned long start, unsigned long end, struct page *ref_page)

Type:void

Parameter:

TypeParameterName
struct vm_area_struct *vma
unsigned longstart
unsigned longend
struct page *ref_page
3527  tlb_start = start
3528  tlb_end = end
3537  adjust_range_if_pmd_sharing_possible(vma, & tlb_start, & tlb_end)
3539  mm = The address space we belong to.
3541  lb_gather_mmu - initialize an mmu_gather structure for page-table tear-down*@tlb: the mmu_gather structure to initialize*@mm: the mm_struct of the target address space*@start: start of the region that will be removed from the page-table*@end: end of the
3542  __unmap_hugepage_range( & tlb, vma, start, end, ref_page)
3543  lb_finish_mmu - finish an mmu_gather structure*@tlb: the mmu_gather structure to finish*@start: start of the region that will be removed from the page-table*@end: end of the region that will be removed from the page-table* Called at the end of the
Caller
NameDescribe
unmap_ref_privateThis is called when the original mapper is failing to COW a MAP_PRIVATE* mappping it owns the reserve page for. The intention is to unmap the page* from other VMAs and let the children be SIGKILLed if they are faulting the* same region.