Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cgroup.h Create Date:2022-07-28 05:55:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: synchronization, the result can only be used as a hint

Proto:static inline bool cgroup_is_populated(struct cgroup *cgrp)

Type:bool

Parameter:

TypeParameterName
struct cgroup *cgrp
617  Return * Each non-empty css_set associated with this cgroup contributes * one to nr_populated_csets. The counter is zero iff this cgroup * doesn't have any tasks. * All children which have non-zero nr_populated_csets and/or * nr_populated_children of their own co + nr_populated_domain_children + nr_populated_threaded_children
Caller
NameDescribe
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
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_events_show
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
cgroup1_check_for_release
validate_changevalidate_change() - Used to validate that any proposed cpuset change* follows the structural rules for cpusets
releasable_read