函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\fork.c Create Date:2022-07-27 09:57:30
Last Modify:2020-03-17 11:04:53 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__mmput

函数原型:static inline void __mmput(struct mm_struct *mm)

返回类型:void

参数:

类型参数名称
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  如果非链表为空
1086  加自旋锁
1087  删除链表项
1088  自旋锁解锁
1090  如果可执行文件的格式module_put(module)
1092  mmdrop(mm)
调用者
名称描述
mmputDecrement the use count and release all resources for an mm.
mmput_async_fn