/* SPDX-License-Identifier: GPL-2.0 */ /* * include/linux/arch_topology.h - arch specific cpu topology information */ #ifndef _LINUX_ARCH_TOPOLOGY_H_ #define _LINUX_ARCH_TOPOLOGY_H_ #include <linux/types.h> #include <linux/percpu.h> void topology_normalize_cpu_scale(void); struct device_node; bool topology_parse_cpu_capacity(struct device_node *cpu_node, int cpu); DECLARE_PER_CPU(unsigned long, cpu_scale); struct sched_domain;
static inline unsigned long topology_get_cpu_scale(struct sched_domain *sd, int cpu) { return per_cpu(cpu_scale, cpu); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Juri Lelli | 12 | 50.00% | 2 | 66.67% |
Dietmar Eggemann | 12 | 50.00% | 1 | 33.33% |
Total | 24 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Dietmar Eggemann | 19 | 100.00% | 1 | 100.00% |
Total | 19 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Juri Lelli | 57 | 51.82% | 2 | 33.33% |
Dietmar Eggemann | 48 | 43.64% | 2 | 33.33% |
Viresh Kumar | 4 | 3.64% | 1 | 16.67% |
Greg Kroah-Hartman | 1 | 0.91% | 1 | 16.67% |
Total | 110 | 100.00% | 6 | 100.00% |