Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Cgroup v2 behavior is used when on default hierarchy or the* cgroup_v2_mode flag is set.

Proto:static inline bool is_in_v2_mode(void)

Type:bool

Parameter:Nothing

366  Return cgroup_subsys_on_dfl - fast test on whether a subsys is on default hierarchy*@ss: subsystem in question(This file *must* be included with SUBSYS() defined.) || Hierarchy-specific flags & CGRP_ROOT_CPUSET_V2_MODE
Caller
NameDescribe
validate_changevalidate_change() - Used to validate that any proposed cpuset change* follows the structural rules for cpusets
update_cpumasks_hierpdate_cpumasks_hier - Update effective cpumasks and tasks in the subtree*@cs: the cpuset to consider*@tmp: temp variables for calculating effective_cpus & partition setup* When congifured cpumask is changed, the effective cpumasks of this cpuset
update_nodemasks_hierpdate_nodemasks_hier - Update effective nodemasks and tasks in the subtree*@cs: the cpuset to consider*@new_mems: a temp variable for calculating new effective_mems* When configured nodemask is changed, the effective nodemasks of this cpuset
cpuset_can_attachCalled by cgroups to determine if a cpuset is usable; cpuset_mutex held
cpuset_css_online
cpuset_bind
cpuset_hotplug_update_taskspuset_hotplug_update_tasks - update tasks in a cpuset for hotunplug*@cs: cpuset in interest*@tmp: the tmpmasks structure pointer* Compare @cs's cpu and mem masks against top_cpuset and if some have gone* offline, update @cs accordingly
cpuset_hotplug_workfnCPU / memory hotplug is handled asynchronously.
cpuset_cpus_allowed_fallbackpuset_cpus_allowed_fallback - final fallback before complete catastrophe