commit | eeffb3df415d8f658e139f9a78adaf9d08212617 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Feb 24 16:44:51 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Feb 24 17:42:04 2021 +0100 |
tree | 5b44c895636ad7367b66ae271968da71bb6ce137 | |
parent | 018564eaa254c8ffe46cfff065f41798e17e5642 [diff] |
MINOR: task: limit the remote thread wakeup to the global runqueue only The test in __task_wakeup() to figure if the remote threads are sleeping doesn't make sense outside of the global runqueue test, since there are only two possibilities here: local runqueue or global runqueue, hence a sleeping thread is another one and can only happen when sending to the global run queue. Let's move the test inside the "if" block.