Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\exit.c Create Date:2022-07-28 09:02:16
Last Modify:2020-03-17 11:17:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__unhash_process

Proto:static void __unhash_process(struct task_struct *p, bool group_dead)

Type:void

Parameter:

TypeParameterName
struct task_struct *p
boolgroup_dead
74  counter of threads--
75  detach_pid(p, PIDTYPE_PID)
76  If group_dead Then
77  detach_pid(p, PIDTYPE_TGID)
78  detach_pid(p, PIDTYPE_PGID)
79  detach_pid(p, PIDTYPE_SID)
81  list_del_rcu - deletes entry from list without re-initialization*@entry: the element to delete from the list
82  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
83  __this_cpu_dec(process_counts)
85  list_del_rcu - deletes entry from list without re-initialization*@entry: the element to delete from the list
86  list_del_rcu - deletes entry from list without re-initialization*@entry: the element to delete from the list
Caller
NameDescribe
__exit_signalThis function expects the tasklist_lock write-locked.