函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\hugetlb.c Create Date:2022-07-27 17:00:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:unmap_hugepage_range

函数原型:void unmap_hugepage_range(struct vm_area_struct *vma, unsigned long start, unsigned long end, struct page *ref_page)

返回类型:void

参数:

类型参数名称
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
调用者
名称描述
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.