Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pgtable_trans_huge_deposit

Proto:void pgtable_trans_huge_deposit(struct mm_struct *mm, pmd_t *pmdp, pgtable_t pgtable)

Type:void

Parameter:

TypeParameterName
struct mm_struct *mm
pmd_t *pmdp
pgtable_tpgtable
164  assert_spin_locked(pmd_lockptr(mm, pmdp))
167  If Not pmd_huge_pte(mm, pmdp) Then Initialization list head
169  Else list_add - add a new entry*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head.* This is good for implementing stacks.
171  pmd_huge_pte(mm, pmdp) = pgtable
Caller
NameDescribe
__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