Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:apply_cgroup_root_flags

Proto:static void apply_cgroup_root_flags(unsigned int root_flags)

Type:void

Parameter:

TypeParameterName
unsigned introot_flags
1853  If cgroup_ns == cgroup namespace for init task Then
1854  If root_flags & CGRP_ROOT_NS_DELEGATE Then Hierarchy-specific flags |= CGRP_ROOT_NS_DELEGATE
1856  Else Hierarchy-specific flags &= ~CGRP_ROOT_NS_DELEGATE
1859  If root_flags & CGRP_ROOT_MEMORY_LOCAL_EVENTS Then Hierarchy-specific flags |= CGRP_ROOT_MEMORY_LOCAL_EVENTS
1861  Else Hierarchy-specific flags &= ~CGRP_ROOT_MEMORY_LOCAL_EVENTS
Caller
NameDescribe
cgroup_reconfigure
cgroup_get_tree