Commit abc40cc
Peter Zijlstra
sched/proxy: Optimize try_to_wake_up()
The reason for the clause in try_to_wake_up() is, per its comment, that
find_proxy_task()'s proxy_deactivate() is not always called with a cleared
p->blocked_on.
However, that seems silly and easily cured. Make sure to always call
proxy_deactivate() with a cleared p->blocked_on such that we might remove this
clause from the common wake-up path.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: John Stultz <jstultz@google.com>
Link: https://patch.msgid.link/20260526113322.244729903%40infradead.org1 parent 1628b25 commit abc40cc
1 file changed
Lines changed: 4 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4343 | 4343 | | |
4344 | 4344 | | |
4345 | 4345 | | |
4346 | | - | |
4347 | | - | |
4348 | | - | |
4349 | | - | |
4350 | | - | |
4351 | | - | |
4352 | | - | |
4353 | | - | |
4354 | 4346 | | |
4355 | 4347 | | |
4356 | 4348 | | |
| |||
6739 | 6731 | | |
6740 | 6732 | | |
6741 | 6733 | | |
| 6734 | + | |
6742 | 6735 | | |
6743 | 6736 | | |
6744 | 6737 | | |
| |||
6864 | 6857 | | |
6865 | 6858 | | |
6866 | 6859 | | |
| 6860 | + | |
6867 | 6861 | | |
6868 | 6862 | | |
6869 | | - | |
6870 | 6863 | | |
6871 | 6864 | | |
6872 | 6865 | | |
| |||
6900 | 6893 | | |
6901 | 6894 | | |
6902 | 6895 | | |
| 6896 | + | |
6903 | 6897 | | |
6904 | 6898 | | |
6905 | | - | |
6906 | 6899 | | |
6907 | 6900 | | |
6908 | 6901 | | |
| |||
6912 | 6905 | | |
6913 | 6906 | | |
6914 | 6907 | | |
| 6908 | + | |
6915 | 6909 | | |
6916 | 6910 | | |
6917 | 6911 | | |
| |||
0 commit comments