summaryrefslogtreecommitdiff
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-12-01 16:39:41 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-01 16:39:40 -0800
commitb832093be4cb17857933d1acfb72f43ce0d5f93a (patch)
treed081f7559974ce2335b5e668960cb8953bdc6e9c /include/linux/sched.h
parenta7adb0df6b408605dd6a5d42ff56b60904ac1cf8 (diff)
parent7437cd7c4bb7a463ec2cac7c37283f9eec5c01c2 (diff)
Merge "sched: pre-allocate colocation groups"
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 4f6711f31939..9c3be2d56ac5 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2401,6 +2401,8 @@ struct cpu_cycle_counter_cb {
u64 (*get_cpu_cycle_counter)(int cpu);
};
+#define MAX_NUM_CGROUP_COLOC_ID 20
+
#ifdef CONFIG_SCHED_HMP
extern void free_task_load_ptrs(struct task_struct *p);
extern int sched_set_window(u64 window_start, unsigned int window_size);