Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\topology.c Create Date:2022-07-28 09:43:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:handle null as "default"

Proto:static int dattrs_equal(struct sched_domain_attr *cur, int idx_cur, struct sched_domain_attr *new, int idx_new)

Type:int

Parameter:

TypeParameterName
struct sched_domain_attr *cur
intidx_cur
struct sched_domain_attr *new
intidx_new
2182  If Not new && Not cur Then Return 1
2185  tmp = SD_ATTR_INIT
2187  Return Not memcmp(cur ? (cur + idx_cur) : & tmp, new ? (new + idx_new) : & tmp, sizeof(structsched_domain_attr))
Caller
NameDescribe
partition_sched_domains_lockedPartition sched domains as specified by the 'ndoms_new'* cpumasks in the array doms_new[] of cpumasks. This compares* doms_new[] to the current sched domain partitioning, doms_cur[].* It destroys each deleted domain and builds each new domain.