sched: cfs core, kernel/sched_fair.c
add kernel/sched_fair.c - which implements the bulk of CFS's behavioral changes for SCHED_OTHER tasks. see Documentation/sched-design-CFS.txt about details. Authors: Ingo Molnar <mingo@elte.hu> Dmitry Adamushko <dmitry.adamushko@gmail.com> Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> Mike Galbraith <efault@gmx.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Mike Galbraith <efault@gmx.de> Signed-off-by: Dmitry Adamushko <dmitry.adamushko@gmail.com> Signed-off-by: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
This commit is contained in:
Родитель
9aa7b36981
Коммит
bf0f6f24a1
|
@ -1243,6 +1243,14 @@ static inline void idle_task_exit(void) {}
|
||||||
|
|
||||||
extern void sched_idle_next(void);
|
extern void sched_idle_next(void);
|
||||||
|
|
||||||
|
extern unsigned int sysctl_sched_granularity;
|
||||||
|
extern unsigned int sysctl_sched_wakeup_granularity;
|
||||||
|
extern unsigned int sysctl_sched_batch_wakeup_granularity;
|
||||||
|
extern unsigned int sysctl_sched_stat_granularity;
|
||||||
|
extern unsigned int sysctl_sched_runtime_limit;
|
||||||
|
extern unsigned int sysctl_sched_child_runs_first;
|
||||||
|
extern unsigned int sysctl_sched_features;
|
||||||
|
|
||||||
#ifdef CONFIG_RT_MUTEXES
|
#ifdef CONFIG_RT_MUTEXES
|
||||||
extern int rt_mutex_getprio(struct task_struct *p);
|
extern int rt_mutex_getprio(struct task_struct *p);
|
||||||
extern void rt_mutex_setprio(struct task_struct *p, int prio);
|
extern void rt_mutex_setprio(struct task_struct *p, int prio);
|
||||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче