diff options
author | Davidlohr Bueso <[email protected]> | 2014-07-30 13:41:51 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-08-13 10:31:59 +0200 |
commit | 42fa566bd74aa7b95413fb00611ec983b488222d (patch) | |
tree | ed8785c7eb273aca842fc78972e7904a247ae28e /net/lapb/lapb_subr.c | |
parent | 242489cfe97d44290e7f88b12591fab6c0819045 (diff) |
locking/mutexes: Document quick lock release when unlocking
When unlocking, we always want to reach the slowpath with the lock's counter
indicating it is unlocked. -- as returned by the asm fastpath call or by
explicitly setting it. While doing so, at least in theory, we can optimize
and allow faster lock stealing.
When unlocking, we always want to reach the slowpath with the lock's counter
indicating it is unlocked. -- as returned by the asm fastpath call or by
explicitly setting it. While doing so, at least in theory, we can optimize
and allow faster lock stealing.
Signed-off-by: Davidlohr Bueso <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions