Home
last modified time | relevance | path

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

/linux-6.12.1/block/
Dkyber-iosched.c212 unsigned int sched_domain, unsigned int type) in flush_latency_buckets() argument
214 unsigned int *buckets = kqd->latency_buckets[sched_domain][type]; in flush_latency_buckets()
215 atomic_t *cpu_buckets = cpu_latency->buckets[sched_domain][type]; in flush_latency_buckets()
227 unsigned int sched_domain, unsigned int type, in calculate_percentile() argument
230 unsigned int *buckets = kqd->latency_buckets[sched_domain][type]; in calculate_percentile()
243 if (!kqd->latency_timeout[sched_domain]) in calculate_percentile()
244 kqd->latency_timeout[sched_domain] = max(jiffies + HZ, 1UL); in calculate_percentile()
246 time_is_after_jiffies(kqd->latency_timeout[sched_domain])) { in calculate_percentile()
249 kqd->latency_timeout[sched_domain] = 0; in calculate_percentile()
257 memset(buckets, 0, sizeof(kqd->latency_buckets[sched_domain][type])); in calculate_percentile()
[all …]
/linux-6.12.1/kernel/sched/
Dtopology.c35 static int sched_domain_debug_one(struct sched_domain *sd, int cpu, int level, in sched_domain_debug_one()
131 static void sched_domain_debug(struct sched_domain *sd, int cpu) in sched_domain_debug()
171 static int sd_degenerate(struct sched_domain *sd) in sd_degenerate()
189 sd_parent_degenerate(struct sched_domain *sd, struct sched_domain *parent) in sd_parent_degenerate()
635 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);
680 DEFINE_PER_CPU(struct sched_domain __rcu *, sd_numa);
[all …]
Dfair.c2504 struct sched_domain *sd; in task_numa_migrate()
7384 wake_affine_weight(struct sched_domain *sd, struct task_struct *p, in wake_affine_weight()
7426 static int wake_affine(struct sched_domain *sd, struct task_struct *p, in wake_affine()
7447 sched_balance_find_dst_group(struct sched_domain *sd, struct task_struct *p, int this_cpu);
7509 static inline int sched_balance_find_dst_cpu(struct sched_domain *sd, struct task_struct *p, in sched_balance_find_dst_cpu()
7526 struct sched_domain *tmp; in sched_balance_find_dst_cpu()
7660 static int select_idle_smt(struct task_struct *p, struct sched_domain *sd, int target) in select_idle_smt()
7696 static inline int select_idle_smt(struct task_struct *p, struct sched_domain *sd, int target) in select_idle_smt()
7708 static int select_idle_cpu(struct task_struct *p, struct sched_domain *sd, bool has_idle_core, int … in select_idle_cpu()
7778 select_idle_capacity(struct task_struct *p, struct sched_domain *sd, int target) in select_idle_capacity()
[all …]
Dsched.h1184 struct sched_domain __rcu *sd;
1966 static inline struct sched_domain *highest_flag_domain(int cpu, int flag) in highest_flag_domain()
1968 struct sched_domain *sd, *hsd = NULL; in highest_flag_domain()
1987 static inline struct sched_domain *lowest_flag_domain(int cpu, int flag) in lowest_flag_domain()
1989 struct sched_domain *sd; in lowest_flag_domain()
1999 DECLARE_PER_CPU(struct sched_domain __rcu *, sd_llc);
2004 DECLARE_PER_CPU(struct sched_domain __rcu *, sd_numa);
2005 DECLARE_PER_CPU(struct sched_domain __rcu *, sd_asym_packing);
2006 DECLARE_PER_CPU(struct sched_domain __rcu *, sd_asym_cpucapacity);
2587 extern void update_group_capacity(struct sched_domain *sd, int cpu);
Dstats.c118 struct sched_domain *sd; in show_schedstat()
Ddebug.c570 static void register_sd(struct sched_domain *sd, struct dentry *parent) in register_sd()
619 struct sched_domain *sd; in update_sched_domain_debugfs()
Dcore.c1127 struct sched_domain *sd; in get_nohz_timer_target()
3624 struct sched_domain *sd; in ttwu_stat()
6328 static bool steal_cookie_task(int cpu, struct sched_domain *sd) in steal_cookie_task()
6348 struct sched_domain *sd; in sched_core_balance()
Drt.c1809 struct sched_domain *sd; in find_lowest_rq()
Ddeadline.c2530 struct sched_domain *sd; in find_later_rq()
/linux-6.12.1/include/linux/sched/
Dtopology.h87 struct sched_domain { struct
89 struct sched_domain __rcu *parent; /* top domain must be null terminated */ argument
90 struct sched_domain __rcu *child; /* bottom domain must be null terminated */ argument
163 static inline struct cpumask *sched_domain_span(struct sched_domain *sd) in sched_domain_span() argument
189 struct sched_domain *__percpu *sd;
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_access_variable_array.c12 struct sched_domain *sd) in BPF_PROG()
/linux-6.12.1/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
70 of a sched_domain.
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
Dsched-energy.rst335 flag to be set in the sched_domain hierarchy.
/linux-6.12.1/Documentation/translations/zh_CN/scheduler/
Dsched-domains.rst18 每个CPU有一个“基”调度域(struct sched_domain)。调度域层次结构从基调度域构建而来,可
Dsched-energy.rst275 参阅Documentation/scheduler/sched-capacity.rst以了解在sched_domain层次结构