Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:arest_hardwall_ancestor() - Returns the nearest mem_exclusive or* mem_hardwall ancestor to the specified cpuset. Call holding* callback_lock. If no ancestor is mem_exclusive or mem_hardwall* (an unusual configuration), then returns the root cpuset.

Proto:static struct cpuset *nearest_hardwall_ancestor(struct cpuset *cs)

Type:struct cpuset

Parameter:

TypeParameterName
struct cpuset *cs
3370  When Not (is_mem_exclusive(cs) || is_mem_hardwall(cs)) && parent_cs(cs) cycle
3371  cs = parent_cs(cs)
3372  Return cs
Caller
NameDescribe
__cpuset_node_allowedpuset_node_allowed - Can we allocate on a memory node?*@node: is this an allowed node?*@gfp_mask: memory allocation flags* If we're in interrupt, yes, we can always allocate. If @node is set in* current's mems_allowed, yes