函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:complete_vfork_done

函数原型:static void complete_vfork_done(struct task_struct *tsk)

返回类型:void

参数:

类型参数名称
struct task_struct *tsk
1246  Protects ->fs, ->files, ->mm, ->group_info, ->comm, keyring* subscriptions and synchronises with wait4(). Also used in procfs. Also* pins the final release of task.io_context. Also protects ->cpuset and* ->cgroup.subsys[]. And ->vfork_done.
1247  vfork等于完成量
1248  如果此条件成立可能性大(为编译器优化)(vfork)则
1249  完成量 = NULL
1250  complete(vfork)
1252  task_unlock(tsk)
调用者
名称描述
mm_releasePlease note the differences between mmput and mm_release