函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mm_clear_owner

函数原型:static __always_inline void mm_clear_owner(struct mm_struct *mm, struct task_struct *p)

返回类型:void

参数:

类型参数名称
struct mm_struct *mm
struct task_struct *p
987  如果* "owner" points to a task that is regarded as the canonical * user/owner of this mm. All of the following must be true in * order for it to be changed: * current == mm->owner * current->mm != mm * new_owner->mm == mm * new_owner->alloc_lock is held恒等于pWRITE_ONCE(* "owner" points to a task that is regarded as the canonical * user/owner of this mm. All of the following must be true in * order for it to be changed: * current == mm->owner * current->mm != mm * new_owner->mm == mm * new_owner->alloc_lock is held, NULL)
调用者
名称描述
copy_process创建进程