Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dww_mutex.h35 unsigned short wounded; member
135 ctx->wounded = false; in ww_acquire_init()
/Linux-v4.19/Documentation/locking/
Dww-mutex-design.txt50 algorithm in that transactions are wounded by other transactions, and that
51 requires a reliable way to pick up up the wounded condition and preempt the
344 The wounded status of the transaction is checked only when there is
346 situation, if the transaction is wounded, it backs off, clears the
347 wounded status and retries. A great benefit of implementing preemption in
348 this way is that the wounded transaction can identify a contending lock to
/Linux-v4.19/kernel/locking/
Dmutex.c387 hold_ctx->wounded = 1; in __ww_mutex_wound()
789 if (ctx->wounded) in __ww_mutex_check_kill()
921 ww_ctx->wounded = 0; in __mutex_lock_common()