Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Note: this doesn't free the actual pages themselves. That* has been handled earlier when unmapping all the memory regions.

Proto:static void free_pte_range(struct mmu_gather *tlb, pmd_t *pmd, unsigned long addr)

Type:void

Parameter:

TypeParameterName
struct mmu_gather *tlb
pmd_t *pmd
unsigned longaddr
216  token = pmd_pgtable( * pmd)
217  pmd_clear(pmd)
218  For things like page tables caches (ie caching addresses "inside" the* page tables, like x86 does), for legacy reasons, flushing an* individual page had better flush the page table caches behind it. This* is definitely how x86 works, for example(tlb, token, addr)
219  mm_dec_nr_ptes(mm)
Caller
NameDescribe
free_pmd_range