Home
last modified time | relevance | path

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

/Linux-v5.10/block/
Dkyber-iosched.c211 unsigned int sched_domain, unsigned int type) in flush_latency_buckets() argument
213 unsigned int *buckets = kqd->latency_buckets[sched_domain][type]; in flush_latency_buckets()
214 atomic_t *cpu_buckets = cpu_latency->buckets[sched_domain][type]; in flush_latency_buckets()
226 unsigned int sched_domain, unsigned int type, in calculate_percentile() argument
229 unsigned int *buckets = kqd->latency_buckets[sched_domain][type]; in calculate_percentile()
242 if (!kqd->latency_timeout[sched_domain]) in calculate_percentile()
243 kqd->latency_timeout[sched_domain] = max(jiffies + HZ, 1UL); in calculate_percentile()
245 time_is_after_jiffies(kqd->latency_timeout[sched_domain])) { in calculate_percentile()
248 kqd->latency_timeout[sched_domain] = 0; in calculate_percentile()
256 memset(buckets, 0, sizeof(kqd->latency_buckets[sched_domain][type])); in calculate_percentile()
[all …]
/Linux-v5.10/kernel/sched/
Dtopology.c34 static int sched_domain_debug_one(struct sched_domain *sd, int cpu, int level, in sched_domain_debug_one()
130 static void sched_domain_debug(struct sched_domain *sd, int cpu) in sched_domain_debug()
170 static int sd_degenerate(struct sched_domain *sd) in sd_degenerate()
188 sd_parent_degenerate(struct sched_domain *sd, struct sched_domain *parent) in sd_parent_degenerate()
590 static void destroy_sched_domain(struct sched_domain *sd) in destroy_sched_domain()
606 struct sched_domain *sd = container_of(rcu, struct sched_domain, rcu); in destroy_sched_domains_rcu()
609 struct sched_domain *parent = sd->parent; in destroy_sched_domains_rcu()
615 static void destroy_sched_domains(struct sched_domain *sd) in destroy_sched_domains()
630 DEFINE_PER_CPU(struct sched_domain __rcu *, sd_llc);
634 DEFINE_PER_CPU(struct sched_domain __rcu *, sd_numa);
[all …]
Dsched.h970 struct sched_domain __rcu *sd;
1424 static inline struct sched_domain *highest_flag_domain(int cpu, int flag) in highest_flag_domain()
1426 struct sched_domain *sd, *hsd = NULL; in highest_flag_domain()
1437 static inline struct sched_domain *lowest_flag_domain(int cpu, int flag) in lowest_flag_domain()
1439 struct sched_domain *sd; in lowest_flag_domain()
1449 DECLARE_PER_CPU(struct sched_domain __rcu *, sd_llc);
1453 DECLARE_PER_CPU(struct sched_domain __rcu *, sd_numa);
1454 DECLARE_PER_CPU(struct sched_domain __rcu *, sd_asym_packing);
1455 DECLARE_PER_CPU(struct sched_domain __rcu *, sd_asym_cpucapacity);
1894 extern void update_group_capacity(struct sched_domain *sd, int cpu);
Dfair.c1982 struct sched_domain *sd; in task_numa_migrate()
5812 wake_affine_weight(struct sched_domain *sd, struct task_struct *p, in wake_affine_weight()
5854 static int wake_affine(struct sched_domain *sd, struct task_struct *p, in wake_affine()
5875 find_idlest_group(struct sched_domain *sd, struct task_struct *p, int this_cpu);
5933 static inline int find_idlest_cpu(struct sched_domain *sd, struct task_struct *p, in find_idlest_cpu()
5950 struct sched_domain *tmp; in find_idlest_cpu()
6044 static int select_idle_core(struct task_struct *p, struct sched_domain *sd, int target) in select_idle_core()
6083 static int select_idle_smt(struct task_struct *p, struct sched_domain *sd, int target) in select_idle_smt()
6103 static inline int select_idle_core(struct task_struct *p, struct sched_domain *sd, int target) in select_idle_core()
6108 static inline int select_idle_smt(struct task_struct *p, struct sched_domain *sd, int target) in select_idle_smt()
[all …]
Dstats.c25 struct sched_domain *sd; in show_schedstat()
Ddebug.c303 sd_alloc_ctl_domain_table(struct sched_domain *sd) in sd_alloc_ctl_domain_table()
326 struct sched_domain *sd; in sd_alloc_ctl_cpu_table()
Drt.c1691 struct sched_domain *sd; in find_lowest_rq()
Ddeadline.c1956 struct sched_domain *sd; in find_later_rq()
Dcore.c657 struct sched_domain *sd; in get_nohz_timer_target()
2431 struct sched_domain *sd; in ttwu_stat()
/Linux-v5.10/include/linux/sched/
Dtopology.h79 struct sched_domain { struct
81 struct sched_domain __rcu *parent; /* top domain must be null terminated */ argument
82 struct sched_domain __rcu *child; /* bottom domain must be null terminated */ argument
156 static inline struct cpumask *sched_domain_span(struct sched_domain *sd) in sched_domain_span() argument
180 struct sched_domain *__percpu *sd;
/Linux-v5.10/Documentation/scheduler/
Dsched-domains.rst5 Each CPU has a "base" scheduling domain (struct sched_domain). The domain
45 the parent sched_domain (if it exists), and the parent of the parent and so
69 struct sched_domain fields, SD_FLAG_*, SD_*_INIT to get an idea of
Dsched-capacity.rst287 - The SD_ASYM_CPUCAPACITY flag will be set at the lowest sched_domain level that
316 sched_asym_cpucapacity static key will be enabled. However, the sched_domain
325 the sched_domain hierarchy (if relevant, i.e. the codepath targets a specific
Dsched-energy.rst335 flag to be set in the sched_domain hierarchy.