函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:cgroup_is_threaded

函数原型:bool cgroup_is_threaded(struct cgroup *cgrp)

返回类型:bool

参数:

类型参数名称
struct cgroup *cgrp
341  返回:* If !threaded, self. If threaded, it points to the nearest * domain ancestor. Inside a threaded subtree, cgroups are exempt * from process granularity and no-internal-task constraint. * Domain level resource consumptions which aren't tied to a * specific 不等于cgrp
调用者
名称描述
cgroup_can_be_thread_rootan @cgrp become a thread root? should always be true for a thread root
cgroup_is_thread_roots @cgrp root of a threaded subtree?
cgroup_is_valid_domaina domain which isn't connected to the root w/o brekage can't be used
cgroup_controlsubsystems visibly enabled on a cgroup
cgroup_ss_masksubsystems enabled on a cgroup
cgroup_update_populatedgroup_update_populated - update the populated count of a cgroup*@cgrp: the target cgroup*@populated: inc or dec populated count* One of the css_sets associated with @cgrp is either getting its first* task or losing the last
find_css_setd_css_set - return a new css_set with one cgroup updated*@old_cset: the baseline css_set*@cgrp: the cgroup to be updated* Return a new css_set that's equivalent to @old_cset, but with @cgrp* substituted into the appropriate hierarchy.
cgroup_migrate_vet_dstgroup_migrate_vet_dst - verify whether a cgroup can be migration destination*@dst_cgrp: destination cgroup to test* On the default hierarchy, except for the mixable, (possible) thread root* and threaded cgroups, subtree_control must be zero for migration*
cgroup_vet_subtree_control_enable
cgroup_enable_threadedgroup_enable_threaded - make @cgrp threaded*@cgrp: the target cgroup* Called when "threaded" is written to the cgroup.type interface file and* tries to make @cgrp threaded and join the parent's resource domain.
cgroup_type_show
cgroup_procs_start
cgroup_destroy_lockedgroup_destroy_locked - the first stage of cgroup destruction*@cgrp: cgroup to be destroyed* css's make use of percpu refcnts whose killing latency shouldn't be* exposed to userland and are RCU protected