diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched.h | 4 | ||||
| -rw-r--r-- | include/linux/sched/sysctl.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index c5ac73a2a30a..b61d039b665f 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1460,6 +1460,8 @@ struct task_struct { u32 init_load_pct; u64 last_wake_ts; u64 last_switch_out_ts; + struct related_thread_group *grp; + struct list_head grp_list; #endif #ifdef CONFIG_CGROUP_SCHED struct task_group *sched_task_group; @@ -2357,6 +2359,8 @@ static inline void sched_set_cluster_dstate(const cpumask_t *cluster_cpus, extern int sched_set_wake_up_idle(struct task_struct *p, int wake_up_idle); extern u32 sched_get_wake_up_idle(struct task_struct *p); +extern int sched_set_group_id(struct task_struct *p, unsigned int group_id); +extern unsigned int sched_get_group_id(struct task_struct *p); #ifdef CONFIG_SCHED_HMP diff --git a/include/linux/sched/sysctl.h b/include/linux/sched/sysctl.h index d309c5d5d584..395b7c25250b 100644 --- a/include/linux/sched/sysctl.h +++ b/include/linux/sched/sysctl.h @@ -70,6 +70,7 @@ extern unsigned int sysctl_sched_lowspill_freq; extern unsigned int sysctl_sched_pack_freq; extern unsigned int sysctl_sched_boost; extern unsigned int sysctl_sched_select_prev_cpu_us; +extern unsigned int sysctl_sched_enable_colocation; #if defined(CONFIG_SCHED_FREQ_INPUT) extern unsigned int sysctl_sched_new_task_windows; #endif |
