commit | e5d79bccc0641ba26bb78ae029cafb4e17e6b13f | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jul 22 14:29:42 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Jul 22 14:42:52 2020 +0200 |
tree | 09a2095e453e35f1472c0a151ee15ea5bb045274 | |
parent | 2447bce554decc560a4e2659f164f8aafa63e3c8 [diff] |
MINOR: tasks/debug: add a few BUG_ON() to detect use of wrong timer queue This aims at catching calls to task_unlink_wq() performed by the wrong thread based on the shared status for the task, as well as calls to __task_queue() with the wrong timer queue being used based on the task's capabilities. This will at least help eliminate some hypothesis during debugging sessions when suspecting that a wrong thread has attempted to queue a task at the wrong place.