Commit 708024b
Peter Zijlstra
sched: Be more strict about p->is_blocked
Upon entry to try_to_block_task(), p->is_blocked should be false. After all,
the prior wakeup would have made it so per ttwu_do_wakeup().
Ensure this is the case, rather than clearing it in the path that doesn't set
it.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: John Stultz <jstultz@google.com>
Link: https://patch.msgid.link/20260526113322.364017314%40infradead.org1 parent abc40cc commit 708024b
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6676 | 6676 | | |
6677 | 6677 | | |
6678 | 6678 | | |
| 6679 | + | |
| 6680 | + | |
6679 | 6681 | | |
6680 | | - | |
6681 | 6682 | | |
6682 | 6683 | | |
6683 | 6684 | | |
| |||
0 commit comments