Back of the queue
If a task cannot get a lock, scale its weight by a given factor queue_lock_fail_reweight_factor, defined in queue.h.
The task types to which this applies are given by the bit-mask queue_lock_fail_reweight_mask in queue.h. This is currently set to all task types for testing, but can easily be set to only send/recv tasks.
Edited by Pedro Gonnet