Searched refs:group_weight (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/kernel/sched/ |
D | fair.c | 1035 static inline unsigned long group_weight(struct task_struct *p, int nid, in group_weight() function 1320 imp += group_weight(cur, env->src_nid, dist) - in task_numa_compare() 1321 group_weight(cur, env->dst_nid, dist); in task_numa_compare() 1479 groupweight = group_weight(p, env.src_nid, dist); in task_numa_migrate() 1482 groupimp = group_weight(p, env.dst_nid, dist) - groupweight; in task_numa_migrate() 1506 groupweight = group_weight(p, env.src_nid, dist); in task_numa_migrate() 1511 groupimp = group_weight(p, nid, dist) - groupweight; in task_numa_migrate() 1748 score = group_weight(p, node, dist); in preferred_group_nid() 6005 unsigned int group_weight; member 6246 if (sgs->sum_nr_running < sgs->group_weight) in group_has_capacity() [all …]
|
D | sched.h | 861 unsigned int group_weight; member
|
D | core.c | 6298 sg->group_weight = cpumask_weight(sched_group_cpus(sg)); in init_sched_groups_capacity() 6306 atomic_set(&sg->sgc->nr_busy_cpus, sg->group_weight); in init_sched_groups_capacity()
|