Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__put_task_struct

Proto:void __put_task_struct(struct task_struct *tsk)

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
739  WARN_ON(!exit state)
740  WARN_ON(_read - get a refcount's value*@r: the refcount* Return: the refcount's value)
741  WARN_ON(tsk == current process)
743  cgroup_free(tsk)
744  task_numa_free(tsk, true)
745  security_task_free(tsk)
746  exit_creds(tsk)
747  delayacct_tsk_free(tsk)
748  put_signal_struct( Signal handlers: )
750  If Not profile_handoff_task(tsk) Then free_task(tsk)
Caller
NameDescribe
put_task_struct