Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mmu_notifier.h Create Date:2022-07-28 05:59:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mmu_notifier_invalidate_range_start

Proto:static inline void mmu_notifier_invalidate_range_start(struct mmu_notifier_range *range)

Type:void

Parameter:

TypeParameterName
struct mmu_notifier_range *range
435  might_sleep()
437  lock_map_acquire( & __mmu_notifier_invalidate_range_start_map)
438  If mm_has_notifiers(mm) Then
439  flags |= MMU_NOTIFIER_RANGE_BLOCKABLE
440  __mmu_notifier_invalidate_range_start(range)
442  lock_map_release( & __mmu_notifier_invalidate_range_start_map)
Caller
NameDescribe
__replace_page__replace_page - replace page in vma by new page
copy_page_range
unmap_vmasmap_vmas - unmap a range of memory covered by a list of vma's*@tlb: address of the caller's struct mmu_gather*@vma: the starting vma*@start_addr: virtual address at which to start unmapping*@end_addr: virtual address at which to end unmapping
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
wp_page_copyHandle the case of a page which we actually need to copy to a new page.* Called with mmap_sem locked and the old page referenced, but* without the ptl held.* High level logic flow:* - Allocate a page, copy the content of the old page to the new one.
__follow_pte_pmd
change_pmd_range
move_page_tables
page_mkclean_one
try_to_unmap_one@arg: enum ttu_flags will be passed to this argument
madvise_free_single_vma
copy_hugetlb_page_range
__unmap_hugepage_range
hugetlb_cowHugetlb_cow() should be called with page lock of the original hugepage held.* Called with hugetlb_instantiation_mutex held and pte_page locked so we* cannot race with other handlers or page migration.
hugetlb_change_protection
write_protect_page
replace_pageplace_page - replace page in vma by new ksm page*@vma: vma that holds the pte pointing to page*@page: the page we are replacing by kpage*@kpage: the ksm page we replace page by*@orig_pte: the original value of the pte
do_huge_pmd_wp_page_fallback
do_huge_pmd_wp_page
__split_huge_pmd
collapse_huge_page
wp_clean_pre_vmawp_clean_pre_vma - The pagewalk pre_vma callback.* The pre_vma callback performs the cache flush, stages the tlb flush* and calls the necessary mmu notifiers.