Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\fork.c Create Date:2022-07-28 08:58:01
Last Modify:2020-03-17 11:04:53 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__mmput

Proto:static inline void __mmput(struct mm_struct *mm)

Type:void

Parameter:

TypeParameterName
struct mm_struct *mm
1076  VM_BUG_ON(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 ))
1078  uprobe_clear_state(mm)
1079  prototypes
1080  ksm_exit(mm)
1081  khugepaged_exit(mm)
1082  Release all mmaps.
1083  mm_put_huge_zero_page(mm)
1084  set_mm_exe_file - change a reference to the mm's executable file* This changes mm's executable file (shown as symlink /proc/[pid]/exe)
1085  If Not list_empty - tests whether a list is empty*@head: the list to test. Then
1086  spin_lock( & mmlist_lock)
1087  deletes entry from list
1088  spin_unlock( & mmlist_lock)
1090  If binfmt Then module_put(module)
1092  mmdrop(mm)
Caller
NameDescribe
mmputDecrement the use count and release all resources for an mm.
mmput_async_fn