函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pgtable_trans_huge_deposit

函数原型:void pgtable_trans_huge_deposit(struct mm_struct *mm, pmd_t *pmdp, pgtable_t pgtable)

返回类型:void

参数:

类型参数名称
struct mm_struct *mm
pmd_t *pmdp
pgtable_tpgtable
164  assert_spin_locked(pmd_lockptr(mm, pmdp))
167  如果非pmd_huge_pte(mm, pmdp)则初始化链表头
169  否则添加链表项
171  pmd_huge_pte(mm, pmdp)等于pgtable
调用者
名称描述
__do_huge_pmd_anonymous_page
set_huge_zero_pageCaller must hold page table lock.
insert_pfn_pmd
copy_huge_pmd
move_huge_pmd
collapse_huge_page