函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\huge_memory.c Create Date:2022-07-27 17:36:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__split_huge_zero_page_pmd

函数原型:static void __split_huge_zero_page_pmd(struct vm_area_struct *vma, unsigned long haddr, pmd_t *pmd)

返回类型:void

参数:

类型参数名称
struct vm_area_struct *vma
unsigned longhaddr
pmd_t *pmd
2109  mm等于The address space we belong to.
2122  pmdp_huge_clear_flush(vma, haddr, pmd)
2124  pgtable等于 "address" argument so destroys page coloring of some arch
2125  pmd_populate(mm, & _pmd, pgtable)
2127 i小于HPAGE_PMD_NR循环
2129  entry等于pfn_pte(my_zero_pfn(haddr), Access permissions of this VMA. )
2130  entry等于pte_mkspecial(entry)
2131  pte等于pte_offset_map( & _pmd, haddr)
2132  VM_BUG_ON(!pte_none( * pte))
2133  set_pte_at(mm, haddr, pte, entry)
2134  pte_unmap(pte)
2136  smp_wmb()
2137  pmd_populate(mm, pmd, pgtable)
调用者
名称描述
__split_huge_pmd_locked