函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Decrement cgroup's nr_frozen_tasks.

函数原型:static void cgroup_dec_frozen_cnt(struct cgroup *cgrp)

返回类型:void

参数:

类型参数名称
struct cgroup *cgrp
99  * Number of tasks, which are counted as frozen: * frozen, SIGSTOPped, and PTRACEd.自减
100  WARN_ON_ONCE(* Number of tasks, which are counted as frozen: * frozen, SIGSTOPped, and PTRACEd. < 0)
调用者
名称描述
cgroup_leave_frozenConditionally leave frozen/stopped state
cgroup_freezer_migrate_taskAdjust the task state (freeze or unfreeze) and revisit the state of* source and destination cgroups.