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

Commit 49278aff authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched: Improve the scheduler"

parents 653c3d43 e1c04f03
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;