summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-02-07 02:08:10 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-02-07 02:08:10 -0800
commita2c6971ce7c61d5779373fc7a8fb4e5ffa3b9ba1 (patch)
tree3e663ac18a88598b4037938280e4dffc1a21d9cf /include
parent15d2d5b37fe005c89308dbb42059e9dd59cd3694 (diff)
parent00861ed665330b2749a7fc6439cc559fe685c0bf (diff)
Merge "sysctl: define upper limit for sched_freq_reporting_policy"
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched/sysctl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/sched/sysctl.h b/include/linux/sched/sysctl.h
index 418eb97110a3..ef8a092251aa 100644
--- a/include/linux/sched/sysctl.h
+++ b/include/linux/sched/sysctl.h
@@ -45,6 +45,14 @@ extern unsigned int sysctl_sched_initial_task_util;
extern unsigned int sysctl_sched_cstate_aware;
#ifdef CONFIG_SCHED_HMP
+
+enum freq_reporting_policy {
+ FREQ_REPORT_MAX_CPU_LOAD_TOP_TASK,
+ FREQ_REPORT_CPU_LOAD,
+ FREQ_REPORT_TOP_TASK,
+ FREQ_REPORT_INVALID_POLICY
+};
+
extern int sysctl_sched_freq_inc_notify;
extern int sysctl_sched_freq_dec_notify;
extern unsigned int sysctl_sched_freq_reporting_policy;