Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:unlock_or_release_subpool

Proto:static inline void unlock_or_release_subpool(struct hugepage_subpool *spool)

Type:void

Parameter:

TypeParameterName
struct hugepage_subpool *spool
79  free = count == 0 && Used count against maximum, includes == 0
81  spin_unlock( & lock)
86  If free Then
87  If Minimum huge pages or -1 if no minimum. != -1 Then Forward declaration
90  kfree(spool)
Caller
NameDescribe
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.