commit | 4a1be0c6d6b62a5f6912ce362eee34b9b7b07d7d | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Wed Apr 17 19:13:07 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Wed Apr 17 19:28:01 2019 +0200 |
tree | ac981eefa7fe42aece4ac930c2da954a5361ae12 | |
parent | 5c964f7b42fb3da0c22cbf42c64996fd7b69327e [diff] |
MEDIUM: tasks: No longer use rq.node.leaf_p as a lock. Now that we have the warranty that a task won't be added in the runqueue while the TASK_QUEUED or the TASK_RUNNING flag is set, don't bother trying to lock the task by setting leaf_p to 0x1 while inserting it in the runqueue or having it in the tasklet_list, as nobody else will attempt to add it.