Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:void tlb_gather_mmu(struct mmu_gather *tlb, struct mm_struct *mm, unsigned long start, unsigned long end)

Type:void

Parameter:

TypeParameterName
struct mmu_gather *tlb
struct mm_struct *mm
unsigned longstart
unsigned longend
209  mm = mm
212  we are in the middle of an operation to clear* a full mm and can make some optimizations = Not (start | end + 1 )
215  we have performed an operation which* requires a complete flush of the tlb = 0
216  next = NULL
217  nr = 0
218  max = ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(__pages)
219  active = local
220  batch_count = 0
230  __tlb_reset_range(tlb)
231  inc_tlb_flush_pending(mm)
Caller
NameDescribe
zap_page_rangezap_page_range - remove user pages in a given range*@vma: vm_area_struct holding the applicable pages*@start: starting address of pages to zap*@size: number of bytes to zap* Caller must protect the VMA list
zap_page_range_singlezap_page_range_single - remove user pages in a given range*@vma: vm_area_struct holding the applicable pages*@address: starting address of pages to zap*@size: number of bytes to zap*@details: details of shared cache invalidation
unmap_region
exit_mmapRelease all mmaps.
madvise_cold
madvise_pageout
madvise_free_single_vma
unmap_hugepage_range