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

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

Merge "sched: Improve the scheduler"

parents 7076d114 52bbfad8
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;