mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
sched/walt: Improve the scheduler
This change is for general scheduler improvement. Change-Id: I5f08d40d6e9f18a905d87db078fa1a70abaa9030 Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
This commit is contained in:
parent
2dbf2bb3b9
commit
5f5bd6a0d2
|
|
@ -291,3 +291,9 @@ int sched_boost_handler(struct ctl_table *table, int write,
|
|||
mutex_unlock(&boost_mutex);
|
||||
return ret;
|
||||
}
|
||||
|
||||
void walt_boost_init(void)
|
||||
{
|
||||
/* force call the callbacks for default boost */
|
||||
sched_set_boost(FULL_THROTTLE_BOOST);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4186,6 +4186,7 @@ static void walt_init(void)
|
|||
|
||||
input_boost_init();
|
||||
core_ctl_init();
|
||||
walt_boost_init();
|
||||
waltgov_register();
|
||||
|
||||
i = match_string(sched_feat_names, __SCHED_FEAT_NR, "TTWU_QUEUE");
|
||||
|
|
|
|||
|
|
@ -157,6 +157,7 @@ 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);
|
||||
extern void core_ctl_check(u64 wallclock);
|
||||
extern int sched_set_boost(int enable);
|
||||
extern void walt_boost_init(void);
|
||||
extern int sched_wake_up_idle_show(struct seq_file *m, void *v);
|
||||
extern ssize_t sched_wake_up_idle_write(struct file *file,
|
||||
const char __user *buf, size_t count, loff_t *offset);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user