Loading include/linux/sched.h +1 −0 Original line number Diff line number Diff line Loading @@ -3960,6 +3960,7 @@ static inline unsigned long rlimit_max(unsigned int limit) #define SCHED_CPUFREQ_INTERCLUSTER_MIG (1U << 3) #define SCHED_CPUFREQ_WALT (1U << 4) #define SCHED_CPUFREQ_PL (1U << 5) #define SCHED_CPUFREQ_EARLY_DET (1U << 6) #define SCHED_CPUFREQ_RT_DL (SCHED_CPUFREQ_RT | SCHED_CPUFREQ_DL) Loading kernel/sched/core.c +4 −1 Original line number Diff line number Diff line Loading @@ -3305,6 +3305,7 @@ void scheduler_tick(void) bool early_notif; u32 old_load; struct related_thread_group *grp; unsigned int flag = 0; sched_clock_tick(); Loading @@ -3321,10 +3322,12 @@ void scheduler_tick(void) cpu_load_update_active(rq); calc_global_load_tick(rq); sched_freq_tick(cpu); cpufreq_update_util(rq, 0); early_notif = early_detection_notify(rq, wallclock); if (early_notif) flag = SCHED_CPUFREQ_WALT | SCHED_CPUFREQ_EARLY_DET; cpufreq_update_util(rq, flag); raw_spin_unlock(&rq->lock); if (early_notif) Loading kernel/sched/sched.h +1 −1 Original line number Diff line number Diff line Loading @@ -2292,7 +2292,7 @@ static inline void cpufreq_update_util(struct rq *rq, unsigned int flags) #ifdef CONFIG_SCHED_WALT unsigned int exception_flags = SCHED_CPUFREQ_INTERCLUSTER_MIG | SCHED_CPUFREQ_PL; SCHED_CPUFREQ_PL | SCHED_CPUFREQ_EARLY_DET; /* * Skip if we've already reported, but not if this is an inter-cluster Loading Loading
include/linux/sched.h +1 −0 Original line number Diff line number Diff line Loading @@ -3960,6 +3960,7 @@ static inline unsigned long rlimit_max(unsigned int limit) #define SCHED_CPUFREQ_INTERCLUSTER_MIG (1U << 3) #define SCHED_CPUFREQ_WALT (1U << 4) #define SCHED_CPUFREQ_PL (1U << 5) #define SCHED_CPUFREQ_EARLY_DET (1U << 6) #define SCHED_CPUFREQ_RT_DL (SCHED_CPUFREQ_RT | SCHED_CPUFREQ_DL) Loading
kernel/sched/core.c +4 −1 Original line number Diff line number Diff line Loading @@ -3305,6 +3305,7 @@ void scheduler_tick(void) bool early_notif; u32 old_load; struct related_thread_group *grp; unsigned int flag = 0; sched_clock_tick(); Loading @@ -3321,10 +3322,12 @@ void scheduler_tick(void) cpu_load_update_active(rq); calc_global_load_tick(rq); sched_freq_tick(cpu); cpufreq_update_util(rq, 0); early_notif = early_detection_notify(rq, wallclock); if (early_notif) flag = SCHED_CPUFREQ_WALT | SCHED_CPUFREQ_EARLY_DET; cpufreq_update_util(rq, flag); raw_spin_unlock(&rq->lock); if (early_notif) Loading
kernel/sched/sched.h +1 −1 Original line number Diff line number Diff line Loading @@ -2292,7 +2292,7 @@ static inline void cpufreq_update_util(struct rq *rq, unsigned int flags) #ifdef CONFIG_SCHED_WALT unsigned int exception_flags = SCHED_CPUFREQ_INTERCLUSTER_MIG | SCHED_CPUFREQ_PL; SCHED_CPUFREQ_PL | SCHED_CPUFREQ_EARLY_DET; /* * Skip if we've already reported, but not if this is an inter-cluster Loading