函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:unlock_or_release_subpool

函数原型:static inline void unlock_or_release_subpool(struct hugepage_subpool *spool)

返回类型:void

参数:

类型参数名称
struct hugepage_subpool *spool
79  free等于count恒等于0且 Used count against maximum, includes 恒等于0
81  自旋锁解锁
86  如果free
87  如果 Minimum huge pages or -1 if no minimum. 不等于负1则Forward declaration
90  释放内存
调用者
名称描述
hugepage_put_subpool
hugepage_subpool_put_pagesSubpool accounting for freeing and unreserving pages.* Return the number of global page reservations that must be dropped.* The return value may only be different than the passed value (delta)* in the case where a subpool minimum size must be maintained.