Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Returns true if a given pud maps a thp, false otherwise.* Note that if it returns true, this routine returns without unlocking page* table lock. So callers must unlock it.

Proto:spinlock_t *__pud_trans_huge_lock(pud_t *pud, struct vm_area_struct *vma)

Type:spinlock_t

Parameter:

TypeParameterName
pud_t *pud
struct vm_area_struct *vma
2034  ptl = pud_lock(The address space we belong to. , pud)
2035  If Value is more likely to compile time(pud_trans_huge( * pud) || pud_devmap( * pud)) Then Return ptl
2037  spin_unlock(ptl)
2038  Return NULL
Caller
NameDescribe
pud_trans_huge_lock