| /linux/block/ |
| H A D | kyber-iosched.c | 205 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 D | topology.c | 60 static int sched_domain_debug_one(struct sched_domain *sd, int cpu, int level, in sched_domain_debug_one() 156 static void sched_domain_debug(struct sched_domain *sd, int cpu) in sched_domain_debug() 187 static int sd_degenerate(struct sched_domain *sd) in sd_degenerate() 205 sd_parent_degenerate(struct sched_domain *sd, struct sched_domain *parent) in sd_parent_degenerate() 646 static void destroy_sched_domain(struct sched_domain *sd) in destroy_sched_domain() 665 struct sched_domain *sd = container_of(rcu, struct sched_domain, rcu); in destroy_sched_domains_rcu() 668 struct sched_domain *parent = sd->parent; in destroy_sched_domains_rcu() 674 static void destroy_sched_domains(struct sched_domain *sd) in destroy_sched_domains() 689 DEFINE_PER_CPU(struct sched_domain __rcu *, sd_llc); 695 DEFINE_PER_CPU(struct sched_domain __rcu *, sd_numa); [all …]
|
| H A D | fair.c | 1429 struct sched_domain *sd; in exceed_llc_capacity() 1518 struct sched_domain *sd; in account_llc_enqueue() 1553 struct sched_domain *sd; in account_llc_dequeue() 2040 struct sched_domain *sd = rcu_dereference_all(per_cpu(sd_llc, cpu)); in task_cache_work() 3452 struct sched_domain *sd; in task_numa_migrate() 8562 wake_affine_weight(struct sched_domain *sd, struct task_struct *p, in wake_affine_weight() 8604 static int wake_affine(struct sched_domain *sd, struct task_struct *p, in wake_affine() 8625 sched_balance_find_dst_group(struct sched_domain *sd, struct task_struct *p, int this_cpu); 8679 static inline int sched_balance_find_dst_cpu(struct sched_domain *sd, struct task_struct *p, in sched_balance_find_dst_cpu() 8696 struct sched_domain *tmp; in sched_balance_find_dst_cpu() [all …]
|
| H A D | sched.h | 1289 struct sched_domain __rcu *sd; 2200 * highest_flag_domain - Return highest sched_domain containing flag. in highest_flag_domain() 2203 * @flag: The flag to check for the highest sched_domain in highest_flag_domain() 2206 * Returns the highest sched_domain of a CPU which contains @flag. If @flag has in highest_flag_domain() 2209 static inline struct sched_domain *highest_flag_domain(int cpu, int flag) in highest_flag_domain() 2211 struct sched_domain *sd, *hsd = NULL; in highest_flag_domain() 2230 static inline struct sched_domain *lowest_flag_domain(int cpu, int flag) in lowest_flag_domain() 2232 struct sched_domain *sd; 2242 DECLARE_PER_CPU(struct sched_domain __rcu *, sd_llc); 2248 DECLARE_PER_CPU(struct sched_domain __rc in sched_asym_cpucap_active() [all...] |
| H A D | stats.c | 118 struct sched_domain *sd; in show_schedstat()
|
| H A D | debug.c | 800 static void register_sd(struct sched_domain *sd, struct dentry *parent) in register_sd() 853 struct sched_domain *sd; in update_sched_domain_debugfs()
|
| H A D | core.c | 1298 struct sched_domain *sd; in get_nohz_timer_target() 3753 struct sched_domain *sd; in ttwu_stat() 6601 static bool steal_cookie_task(int cpu, struct sched_domain *sd) in steal_cookie_task() 6622 struct sched_domain *sd; in sched_core_balance()
|
| H A D | rt.c | 1780 struct sched_domain *sd; in find_lowest_rq()
|
| H A D | deadline.c | 2938 struct sched_domain *sd; in find_later_rq()
|
| /linux/include/linux/sched/ |
| H A D | topology.h | 91 struct sched_domain { struct 93 struct sched_domain __rcu *parent; /* top domain must be null terminated */ argument 94 struct sched_domain __rcu *child; /* bottom domain must be null terminated */ argument 175 static inline struct cpumask *sched_domain_span(struct sched_domain *sd) in sched_domain_span() argument 210 struct sched_domain *__percpu *sd;
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_access_variable_array.c | |
| /linux/Documentation/translations/zh_CN/scheduler/ |
| H A D | sched-domains.rst | 18 每个CPU有一个“基”调度域(struct sched_domain)。调度域层次结构从基调度域构建而来,可
|
| H A D | sched-energy.rst | 275 参阅Documentation/scheduler/sched-capacity.rst以了解在sched_domain层次结构
|
| /linux/kernel/sched/ext/ |
| H A D | idle.c | 244 struct sched_domain *sd; 259 struct sched_domain *sd; 274 struct sched_domain *sd; in numa_weight() 293 struct sched_domain *sd; in numa_span()
|
| /linux/Documentation/scheduler/ |
| H A D | sched-capacity.rst | 288 - 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 D | sched-energy.rst | 335 flag to be set in the sched_domain hierarchy.
|