Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d537574a authored by Satya Durga Srinivasu Prabhala's avatar Satya Durga Srinivasu Prabhala
Browse files

sched: bring in missing change in boost, fix minor issues in tune & walt



While bringing in boost changes as part of commit bb5b6b3e
("sched: Add snapshot of Window Assisted Load Tracking (WALT)"),
looks like kick_mask in boost_kick_cpus function wasn't picked
properly. Update the same to be in sync with msm-4.9.

Also, fix indetation issues in tune and remove unused cpu variable
in walt.

Change-Id: If20120bddd51236de08f0714a956aa3b5534201b
Signed-off-by: default avatarSatya Durga Srinivasu Prabhala <satyap@codeaurora.org>
parent e729e468
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ static void boost_kick_cpus(void)
	if (boost_policy != SCHED_BOOST_ON_BIG)
		return;

	cpumask_copy(&kick_mask, cpu_online_mask);
	cpumask_andnot(&kick_mask, cpu_online_mask, cpu_isolated_mask);

	for_each_cpu(i, &kick_mask) {
		if (cpu_capacity(i) != max_capacity)
+1 −1
Original line number Diff line number Diff line
@@ -3033,7 +3033,7 @@ int walt_proc_update_handler(struct ctl_table *table, int write,
			     void __user *buffer, size_t *lenp,
			     loff_t *ppos)
{
	int ret, cpu;
	int ret;
	unsigned int *data = (unsigned int *)table->data;
	static DEFINE_MUTEX(mutex);

+2 −2

File changed.

Contains only whitespace changes.