Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:khugepaged_test_exit

Proto:static inline int khugepaged_test_exit(struct mm_struct *mm)

Type:int

Parameter:

TypeParameterName
struct mm_struct *mm
404  Return atomic_read( & *@mm_users: The number of users including userspace. * Use mmget()/mmget_not_zero()/mmput() to modify. When this * drops to 0 (i.e. when the task exits and there are no other * temporary reference holders), we also release a reference on *@mm_count (which ) == 0
Caller
NameDescribe
__khugepaged_enter
hugepage_vma_revalidateIf mmap_sem temporarily dropped, revalidate vma* before taking mmap_sem.* Return 0 if succeeds, otherwise return none-zero* value (scan code).
collect_mm_slot
khugepaged_scan_mm_slot