Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_cpumasks - free cpumasks in a tmpmasks structure*@cs: the cpuset that have cpumasks to be free.*@tmp: the tmpmasks structure pointer

Proto:static inline void free_cpumasks(struct cpuset *cs, struct tmpmasks *tmp)

Type:void

Parameter:

TypeParameterName
struct cpuset *cs
struct tmpmasks *tmp
499  If cs Then
500  free_cpumask_var( user-configured CPUs and Memory Nodes allow to tasks )
501  free_cpumask_var( effective CPUs and Memory Nodes allow to tasks )
502  free_cpumask_var(* CPUs allocated to child sub-partitions (default hierarchy only) * - CPUs granted by the parent = effective_cpus U subparts_cpus * - effective_cpus and subparts_cpus are mutually exclusive. * effective_cpus contains only onlined CPUs, but subparts_cpus * )
504  If tmp Then
505  free_cpumask_var(For update_cpumasks_hier() )
506  free_cpumask_var(addmask)
507  free_cpumask_var(For partition root )
Caller
NameDescribe
free_cpuset_cpuset - free the cpuset*@cs: the cpuset to be freed
update_prstatepdate_prstate - update partititon_root_state* Call with cpuset_mutex held.
cpuset_hotplug_workfnCPU / memory hotplug is handled asynchronously.