Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:If CPU and/or memory hotplug handlers, below, unplug any CPUs* or memory nodes, we need to walk over the cpuset hierarchy,* removing that CPU or node from all cpusets. If this removes the* last CPU or node from a cpuset, then move the tasks in the empty

Proto:static void remove_tasks_in_empty_cpuset(struct cpuset *cs)

Type:void

Parameter:

TypeParameterName
struct cpuset *cs
2927  parent = parent_cs(cs)
2928  When pumask_empty - *srcp == 0*@srcp: the cpumask to that all cpus < nr_cpu_ids are clear. || nodes_empty(mems_allowed) cycle
2930  parent = parent_cs(parent)
2932  If group_trasnsfer_tasks - move tasks from one cgroup to another*@to: cgroup to which the tasks will be moved*@from: cgroup in which the tasks currently reside* Locking rules between cgroup_post_fork() and the migration path* guarantee that, if a task is Then
2933  pr_err("cpuset: failed to transfer tasks out of empty cpuset ")
2934  pr_cont_cgroup_name(PI: the cgroup that this css is attached to )
2935  Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.("\n")
Caller
NameDescribe
hotplug_update_tasks_legacy