Home
last modified time | relevance | path

Searched refs:sched_domain (Results 1 – 13 of 13) sorted by relevance

/linux/block/
H A Dkyber-iosched.c205 unsigned int sched_domain, unsigned int type) in flush_latency_buckets() argument
207 unsigned int *buckets = kqd->latency_buckets[sched_domain][type]; in flush_latency_buckets()
208 atomic_t *cpu_buckets = cpu_latency->buckets[sched_domain][type]; in flush_latency_buckets()
220 unsigned int sched_domain, unsigned int type, in calculate_percentile() argument
223 unsigned int *buckets = kqd->latency_buckets[sched_domain][type]; in calculate_percentile()
236 if (!kqd->latency_timeout[sched_domain]) in calculate_percentile()
237 kqd->latency_timeout[sched_domain] = max(jiffies + HZ, 1UL); in calculate_percentile()
239 time_is_after_jiffies(kqd->latency_timeout[sched_domain])) { in calculate_percentile()
242 kqd->latency_timeout[sched_domain] = 0; in calculate_percentile()
250 memset(buckets, 0, sizeof(kqd->latency_buckets[sched_domain][type])); in calculate_percentile()
[all …]
/linux/kernel/sched/
H A Dtopology.c46 static int sched_domain_debug_one(struct sched_domain *sd, int cpu, int level, in sched_domain_debug_one()
142 static void sched_domain_debug(struct sched_domain *sd, int cpu) in sched_domain_debug()
173 static int sd_degenerate(struct sched_domain *sd) in sd_degenerate()
191 sd_parent_degenerate(struct sched_domain *sd, struct sched_domain *parent) in sd_parent_degenerate()
632 static void destroy_sched_domain(struct sched_domain *sd) in destroy_sched_domain()
651 struct sched_domain *sd = container_of(rcu, struct sched_domain, rcu); in destroy_sched_domains_rcu()
654 struct sched_domain *parent = sd->parent; in destroy_sched_domains_rcu()
660 static void destroy_sched_domains(struct sched_domain *sd) in destroy_sched_domains()
675 DEFINE_PER_CPU(struct sched_domain __rcu *, sd_llc);
681 DEFINE_PER_CPU(struct sched_domain __rcu *, sd_numa);
[all …]
H A Dfair.c1477 struct sched_domain *sd; in exceed_llc_capacity()
1544 struct sched_domain *sd; in account_llc_enqueue()
1577 struct sched_domain *sd; in account_llc_dequeue()
1912 struct sched_domain *sd = rcu_dereference_all(per_cpu(sd_llc, cpu)); in task_cache_work()
3309 struct sched_domain *sd; in task_numa_migrate()
8381 wake_affine_weight(struct sched_domain *sd, struct task_struct *p, in wake_affine_weight()
8423 static int wake_affine(struct sched_domain *sd, struct task_struct *p, in wake_affine()
8444 sched_balance_find_dst_group(struct sched_domain *sd, struct task_struct *p, int this_cpu);
8506 static inline int sched_balance_find_dst_cpu(struct sched_domain *sd, struct task_struct *p, in sched_balance_find_dst_cpu()
8523 struct sched_domain *tmp; in sched_balance_find_dst_cpu()
[all …]
H A Dsched.h1281 struct sched_domain __rcu *sd;
2199 static inline struct sched_domain *highest_flag_domain(int cpu, int flag) in highest_flag_domain()
2201 struct sched_domain *sd, *hsd = NULL; in highest_flag_domain()
2220 static inline struct sched_domain *lowest_flag_domain(int cpu, int flag) in lowest_flag_domain()
2222 struct sched_domain *sd; in lowest_flag_domain()
2232 DECLARE_PER_CPU(struct sched_domain __rcu *, sd_llc);
2238 DECLARE_PER_CPU(struct sched_domain __rcu *, sd_numa);
2239 DECLARE_PER_CPU(struct sched_domain __rcu *, sd_asym_packing);
2240 DECLARE_PER_CPU(struct sched_domain __rcu *, sd_asym_cpucapacity);
2906 extern void update_group_capacity(struct sched_domain *sd, int cpu);
H A Dstats.c118 struct sched_domain *sd; in show_schedstat()
H A Dcore.c1295 struct sched_domain *sd; in get_nohz_timer_target()
3710 struct sched_domain *sd; in ttwu_stat()
6536 static bool steal_cookie_task(int cpu, struct sched_domain *sd) in steal_cookie_task()
6557 struct sched_domain *sd; in sched_core_balance()
H A Ddeadline.c2935 struct sched_domain *sd; in find_later_rq()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_access_variable_array.c
/linux/Documentation/translations/zh_CN/scheduler/
H A Dsched-domains.rst18 每个CPU有一个“基”调度域(struct sched_domain)。调度域层次结构从基调度域构建而来,可
H A Dsched-energy.rst275 参阅Documentation/scheduler/sched-capacity.rst以了解在sched_domain层次结构
/linux/kernel/sched/ext/
H A Didle.c234 struct sched_domain *sd; in llc_weight()
249 struct sched_domain *sd; in llc_span()
264 struct sched_domain *sd; in numa_weight()
283 struct sched_domain *sd; in numa_span()
/linux/Documentation/scheduler/
H A Dsched-capacity.rst288 - The SD_ASYM_CPUCAPACITY_FULL flag will be set at the lowest sched_domain
290 - The SD_ASYM_CPUCAPACITY flag will be set for any sched_domain that spans
319 sched_asym_cpucapacity static key will be enabled. However, the sched_domain
328 the sched_domain hierarchy (if relevant, i.e. the codepath targets a specific
H A Dsched-energy.rst335 flag to be set in the sched_domain hierarchy.