Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:s @cgrp root of a threaded subtree?

Proto:bool cgroup_is_thread_root(struct cgroup *cgrp)

Type:bool

Parameter:

TypeParameterName
struct cgroup *cgrp
381  If cgroup_is_threaded(cgrp) Then Return false
385  If # of live threaded child cgroups Then Return true
392  If cgroup_has_tasks(cgrp) && * The bitmask of subsystems enabled on the child cgroups. * ->subtree_control is the one configured through * "cgroup.subtree_control" while ->child_ss_mask is the effective * one which may have more subsystems enabled. Controller knobs * are made availabl & some controllers can be threaded on the default hierarchy Then Return true
396  Return false
Caller
NameDescribe
cgroup_is_valid_domaina domain which isn't connected to the root w/o brekage can't be used
cgroup_vet_subtree_control_enable
cgroup_type_show