Home
last modified time | relevance | path

Searched refs:wounded (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/include/linux/
Dww_mutex.h35 unsigned short wounded; member
135 ctx->wounded = false; in ww_acquire_init()
/Linux-v5.4/Documentation/locking/
Dww-mutex-design.rst51 algorithm in that transactions are wounded by other transactions, and that
52 requires a reliable way to pick up up the wounded condition and preempt the
351 The wounded status of the transaction is checked only when there is
353 situation, if the transaction is wounded, it backs off, clears the
354 wounded status and retries. A great benefit of implementing preemption in
355 this way is that the wounded transaction can identify a contending lock to
/Linux-v5.4/kernel/locking/
Dmutex.c414 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()