Re: [PATCH v7 16/22] sched: Defer wakeup in ttwu() for unschedulable frozen tasks

From
Peter Zijlstra <peterz@infradead.org>
Date
2021-05-27 14:51:51
Also in
linux-arch, lkml
Reply to
Peter Zijlstra, 2021-05-27
On Thu, May 27, 2021 at 04:31:51PM +0200, Peter Zijlstra wrote:
quoted hunk ↗ jump to hunk
@@ -149,7 +144,7 @@ void __thaw_task(struct task_struct *p)
 
 	spin_lock_irqsave(&freezer_lock, flags);
 	if (frozen(p))
-		wake_up_process(p);
+		wake_up_state(p, TASK_FROZEN);
Possibly, that wants | TASK_NORMAL added.
 	spin_unlock_irqrestore(&freezer_lock, flags);
 }
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (57 messages) 57 messages, 4 authors, last reply 2021-06-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help