Searched refs:wounded (Results 1 – 3 of 3) sorted by relevance
35 unsigned short wounded; member135 ctx->wounded = false; in ww_acquire_init()
51 algorithm in that transactions are wounded by other transactions, and that52 requires a reliable way to pick up up the wounded condition and preempt the351 The wounded status of the transaction is checked only when there is353 situation, if the transaction is wounded, it backs off, clears the354 wounded status and retries. A great benefit of implementing preemption in355 this way is that the wounded transaction can identify a contending lock to
414 hold_ctx->wounded = 1; in __ww_mutex_wound()816 if (ctx->wounded) in __ww_mutex_check_kill()952 ww_ctx->wounded = 0; in __mutex_lock_common()