Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:complete_vfork_done

Proto:static void complete_vfork_done(struct task_struct *tsk)

Type:void

Parameter:

TypeParameterName
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 = vfork_done
1248  If Value is more likely to compile time(vfork) Then
1249  vfork_done = NULL
1250  complete(vfork)
1252  task_unlock(tsk)
Caller
NameDescribe
mm_releasePlease note the differences between mmput and mm_release