Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/linux/
H A Dww_mutex.h35 unsigned short wounded; member
127 ctx->wounded = false; in ww_acquire_init()
/OK3568_Linux_fs/kernel/Documentation/locking/
H A Dww-mutex-design.rst51 algorithm in that transactions are wounded by other transactions, and that
52 requires a reliable way to pick 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
/OK3568_Linux_fs/kernel/kernel/locking/
H A Dmutex.c431 hold_ctx->wounded = 1; in __ww_mutex_wound()
834 if (ctx->wounded) in __ww_mutex_check_kill()
972 ww_ctx->wounded = 0; in __mutex_lock_common()