函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__collapse_huge_page_copy

函数原型:static void __collapse_huge_page_copy(pte_t *pte, struct page *page, struct vm_area_struct *vma, unsigned long address, spinlock_t *ptl)

返回类型:void

参数:

类型参数名称
pte_t *pte
struct page *page
struct vm_area_struct *vma
unsigned longaddress
spinlock_t *ptl
652 _pte小于pteHPAGE_PMD_NR循环
654  pteval等于_pte
657  如果pte_none(pteval)或is_zero_pfn(pte_pfn(pteval))则
660  如果is_zero_pfn(pte_pfn(pteval))则
672  否则
673  src_page等于pte_page(pteval)
682  加自旋锁
调用者
名称描述
collapse_huge_page