Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static int wp_clean_pre_vma(unsigned long start, unsigned long end, struct mm_walk *walk)

Type:int

Parameter:

TypeParameterName
unsigned longstart
unsigned longend
struct mm_walk *walk
149  wpwalk = private
151  tlbflush_start = end
152  tlbflush_end = start
154  mmu_notifier_range_init( & range, MMU_NOTIFY_PROTECTION_PAGE, 0, vma, mm, start, end)
156  mmu_notifier_invalidate_range_start( & range)
157  flush_cache_range(vma, start, end)
164  inc_tlb_flush_pending(mm)
166  Return 0