Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\cgroup.c Create Date:2022-07-28 11:11:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cgroup_release

Proto:void cgroup_release(struct task_struct *task)

Type:void

Parameter:

TypeParameterName
struct task_struct *task
6013  Do
6013  __ss_mask = have_release_callback
6013  If Not CGROUP_SUBSYS_COUNT Then
6013  ssid = 0
6013  Break
6013  ss = cgroup_subsys[ssid]
6014  release(task)
6015  When (false) cycle
6017  spin_lock_irq( & css_set_lock)
6018  @task is leaving, advance task iterators which are pointing to it so* that they can resume at the next position. Advancing an iterator might* remove it from the list, use safe walk. See css_task_iter_skip() for* details.
6019  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
6020  spin_unlock_irq( & css_set_lock)