函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pud_lock

函数原型:static inline spinlock_t *pud_lock(struct mm_struct *mm, pud_t *pud)

返回类型:spinlock_t

参数:

类型参数名称
struct mm_struct *mm
pud_t *pud
2048  ptl等于No scalability reason to split PUD locks yet, but follow the same pattern* as the PMD locks to make it easier if we decide to. The VM should not be* considered ready to switch to split PUD locks yet; there may be places
2050  加自旋锁
2051  返回:ptl
调用者
名称描述
follow_pud_mask
__pud_trans_huge_lockReturns 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.