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

Commit ddad81fa authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched: reduce sleep duration in wait_task_inactive()" into msm-4.8

parents b261c6c3 c9cce0ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1472,7 +1472,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 = ktime_set(0, NSEC_PER_SEC);
			ktime_t to = ktime_set(0, NSEC_PER_MSEC);

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