]> Git Repo - linux.git/commit
lockref: Relax in cmpxchg loop
authorLuck, Tony <[email protected]>
Tue, 3 Sep 2013 21:49:49 +0000 (14:49 -0700)
committerLinus Torvalds <[email protected]>
Tue, 3 Sep 2013 22:36:42 +0000 (15:36 -0700)
commitd472d9d98b463dd7a04f2bcdeafe4261686ce6ab
tree05972418a7e71d3e8d5a9c8c8d5e1dc22f013c5b
parent2f01ea908bcf838e815c0124b579513dbda3b8c8
lockref: Relax in cmpxchg loop

While we are likley to succeed and break out of this loop, it isn't
guaranteed.  We should be power and thread friendly if we do have to
go around for a second (or third, or more) attempt.

Signed-off-by: Tony Luck <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/lockref.c
This page took 0.051867 seconds and 4 git commands to generate.