commit | c4aac9effe37c154add79e8acf31a74736e32522 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Thu Jul 26 15:25:49 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jul 26 15:40:22 2018 +0200 |
tree | 248a4083cd0fbbdc63ec6c3e340a94d9f478d278 | |
parent | 189ea856a7230ae3ce6a1cf5179145548188d434 [diff] |
BUG/MEDIUM: tasks: Make sure there's no task left before considering inactive. We may remove the thread's bit in active_tasks_mask despite tasks for that thread still being present in the global runqueue. To fix that, introduce global_tasks_mask, and set the correspnding bits when we add a task to the runqueue.