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

Commit e1c04f03 authored by Lingutla Chandrasekhar's avatar Lingutla Chandrasekhar Committed by Gerrit - the friendly Code Review server
Browse files

sched: Improve the scheduler



This change is for general scheduler improvements.

Change-Id: I5e7c2d92ae5cddaa4dc37d68dfb7a184a72b1c12
Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
parent e60bc8ba
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3054,6 +3054,9 @@ static ssize_t proc_sched_task_boost_period_write(struct file *file,
	unsigned int sched_boost_period;
	int err;

	if (!task)
		return -ESRCH;

	memset(buffer, 0, sizeof(buffer));
	if (count > sizeof(buffer) - 1)
		count = sizeof(buffer) - 1;