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

Commit 52bbfad8 authored by Lingutla Chandrasekhar's avatar Lingutla Chandrasekhar
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 adee9374
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3027,6 +3027,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;