commit | 1d7f37a2cb395323605e474c1539836e609734b0 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Thu Mar 14 16:14:04 2019 +0100 |
committer | Olivier Houchard <cognet@ci0.org> | Thu Mar 14 16:19:11 2019 +0100 |
tree | 264c709f5d7bfeae8b85d412f8061627b4d824e9 | |
parent | 237985b22800113ac35983626b0a4b22aadee6af [diff] |
BUG/MAJOR: tasks: Use the TASK_GLOBAL flag to know if we're in the global rq. In task_unlink_rq, to decide if we should logk the global runqueue lock, use the TASK_GLOBAL flag instead of relying on t->thread_mask being tid_bit, as it could be so while still being in the global runqueue if another thread woke that task for us. This should be backported to 1.9.