函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\cgroup.c Create Date:2022-07-27 12:13:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:cgroup_release

函数原型:void cgroup_release(struct task_struct *task)

返回类型:void

参数:

类型参数名称
struct task_struct *task
6013  循环
6013  __ss_mask等于have_release_callback
6013  如果非CGROUP_SUBSYS_COUNT
6013  ssid等于0
6013  退出
6013  ss等于cgroup_subsys[ssid]
6014  release(task)
6015  当(false)循环
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  删除链表项并重新初始化
6020  spin_unlock_irq( & css_set_lock)
调用者
名称描述
release_task