Searched refs:sched_domain (Results 1 – 13 of 13) sorted by relevance
/Linux-v5.10/block/ |
D | kyber-iosched.c | 211 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/ |
D | topology.c | 34 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 …]
|
D | sched.h | 970 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);
|
D | fair.c | 1982 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 …]
|
D | stats.c | 25 struct sched_domain *sd; in show_schedstat()
|
D | debug.c | 303 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()
|
D | rt.c | 1691 struct sched_domain *sd; in find_lowest_rq()
|
D | deadline.c | 1956 struct sched_domain *sd; in find_later_rq()
|
D | core.c | 657 struct sched_domain *sd; in get_nohz_timer_target() 2431 struct sched_domain *sd; in ttwu_stat()
|
/Linux-v5.10/include/linux/sched/ |
D | topology.h | 79 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/ |
D | sched-domains.rst | 5 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
|
D | sched-capacity.rst | 287 - 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
|
D | sched-energy.rst | 335 flag to be set in the sched_domain hierarchy.
|