Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:a domain which isn't connected to the root w/o brekage can't be used

Proto:static bool cgroup_is_valid_domain(struct cgroup *cgrp)

Type:bool

Parameter:

TypeParameterName
struct cgroup *cgrp
403  If cgroup_is_threaded(cgrp) Then Return false
407  When cgrp = cgroup_parent(cgrp) cycle
408  If Not an @cgrp host both domain and threaded children? && s @cgrp root of a threaded subtree? Then Return false
410  If cgroup_is_threaded(cgrp) Then Return false
414  Return true
Caller
NameDescribe
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