summaryrefslogtreecommitdiff
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorVikram Mulukutla <markivx@codeaurora.org>2017-06-06 11:58:27 -0700
committerGeorg Veichtlbauer <georg@vware.at>2023-07-16 12:47:43 +0200
commit6adb092856e806d91f3fc22dff0ef36506dd0bae (patch)
tree5f19cc4f680b0c21643621ae80607e66b36479c2 /include/linux/sched.h
parent0fa652ee00f5aaf9fdebea0e0f840e59bdb6795b (diff)
sched: cpufreq: Limit governor updates to WALT changes alone
It's not necessary to keep reporting load to the governor if it doesn't change in a window. Limit updates to when we expect load changes - after window rollover and when we send updates related to intercluster migrations. [beykerykt]: Adapt for HMP Change-Id: I3232d40f3d54b0b81cfafdcdb99b534df79327bf Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 9cb6964d178e..0e8fff43cc17 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -3724,6 +3724,7 @@ static inline unsigned long rlimit_max(unsigned int limit)
#define SCHED_CPUFREQ_DL (1U << 1)
#define SCHED_CPUFREQ_IOWAIT (1U << 2)
#define SCHED_CPUFREQ_INTERCLUSTER_MIG (1U << 3)
+#define SCHED_CPUFREQ_WALT (1U << 4)
#ifdef CONFIG_CPU_FREQ
struct update_util_data {