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

Commit 0b934949 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched: reduce sleep duration in wait_task_inactive()"

parents 5abe5394 ca389a5a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1413,7 +1413,7 @@ unsigned long wait_task_inactive(struct task_struct *p, long match_state)
		 * yield - it could be a while.
		 */
		if (unlikely(queued)) {
			ktime_t to = NSEC_PER_SEC / HZ;
			ktime_t to = NSEC_PER_MSEC;

			set_current_state(TASK_UNINTERRUPTIBLE);
			schedule_hrtimeout(&to, HRTIMER_MODE_REL);