Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kasan_free_pmd

Proto:static void kasan_free_pmd(pmd_t *pmd_start, pud_t *pud)

Type:void

Parameter:

TypeParameterName
pmd_t *pmd_start
pud_t *pud
317  When i < PTRS_PER_PMD cycle
318  pmd = pmd_start + i
319  If Not pmd_none( * pmd) Then Return
323  pmd_free( & For dynamically allocated mm_structs, there is a dynamically sized cpumask* at the end of the structure, the size of which depends on the maximum CPU* number the system can see, (pmd_t * )page_to_virt(pud_page( * pud)))
324  pud_clear(pud)
Caller
NameDescribe
kasan_remove_pud_table