summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorVikram Mulukutla <markivx@codeaurora.org>2017-03-20 13:41:37 -0700
committerMichael Bestas <mkbestas@lineageos.org>2019-12-23 23:43:40 +0200
commit0086bc47f8b54d30de0ced09e9bb45cb4fef47a8 (patch)
treeb5a24f13f592ac20770ddabbc640c7b9b4ec1c32 /include/linux
parent5c43a2afb87ea44e4d52585989a76b1e6a2e6ce6 (diff)
sched: cpufreq: HMP load reporting changes
Since HMP uses WALT, ensure that load is reported just once per window, with the exception of intercluster migrations. Further, try to report load whenever WALT stats are updated. Change-Id: I6539f8c916f6f271cf26f03249de7f953d5b12c2 Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
Diffstat (limited to 'include/linux')
-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 a05e1e82ecf3..31cb433d7691 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -3719,6 +3719,7 @@ static inline unsigned long rlimit_max(unsigned int limit)
#define SCHED_CPUFREQ_RT (1U << 0)
#define SCHED_CPUFREQ_DL (1U << 1)
#define SCHED_CPUFREQ_IOWAIT (1U << 2)
+#define SCHED_CPUFREQ_INTERCLUSTER_MIG (1U << 3)
#ifdef CONFIG_CPU_FREQ
struct update_util_data {