Loading kernel/sched/hmp.c +12 −1 Original line number Diff line number Diff line Loading @@ -124,7 +124,18 @@ u32 __weak get_freq_max_load(int cpu, u32 freq) return 100; } DEFINE_PER_CPU(struct freq_max_load *, freq_max_load); struct freq_max_load_entry { /* The maximum load which has accounted governor's headroom. */ u64 hdemand; }; struct freq_max_load { struct rcu_head rcu; int length; struct freq_max_load_entry freqs[0]; }; static DEFINE_PER_CPU(struct freq_max_load *, freq_max_load); static DEFINE_SPINLOCK(freq_max_load_lock); struct cpu_pwr_stats __weak *get_cpu_pwr_stats(void) Loading kernel/sched/sched.h +0 −13 Original line number Diff line number Diff line Loading @@ -28,19 +28,6 @@ extern atomic_long_t calc_load_tasks; extern void calc_global_load_tick(struct rq *this_rq); struct freq_max_load_entry { /* The maximum load which has accounted governor's headroom. */ u64 hdemand; }; struct freq_max_load { struct rcu_head rcu; int length; struct freq_max_load_entry freqs[0]; }; extern DEFINE_PER_CPU(struct freq_max_load *, freq_max_load); extern long calc_load_fold_active(struct rq *this_rq); #ifdef CONFIG_SMP Loading Loading
kernel/sched/hmp.c +12 −1 Original line number Diff line number Diff line Loading @@ -124,7 +124,18 @@ u32 __weak get_freq_max_load(int cpu, u32 freq) return 100; } DEFINE_PER_CPU(struct freq_max_load *, freq_max_load); struct freq_max_load_entry { /* The maximum load which has accounted governor's headroom. */ u64 hdemand; }; struct freq_max_load { struct rcu_head rcu; int length; struct freq_max_load_entry freqs[0]; }; static DEFINE_PER_CPU(struct freq_max_load *, freq_max_load); static DEFINE_SPINLOCK(freq_max_load_lock); struct cpu_pwr_stats __weak *get_cpu_pwr_stats(void) Loading
kernel/sched/sched.h +0 −13 Original line number Diff line number Diff line Loading @@ -28,19 +28,6 @@ extern atomic_long_t calc_load_tasks; extern void calc_global_load_tick(struct rq *this_rq); struct freq_max_load_entry { /* The maximum load which has accounted governor's headroom. */ u64 hdemand; }; struct freq_max_load { struct rcu_head rcu; int length; struct freq_max_load_entry freqs[0]; }; extern DEFINE_PER_CPU(struct freq_max_load *, freq_max_load); extern long calc_load_fold_active(struct rq *this_rq); #ifdef CONFIG_SMP Loading