diff options
author | Luck, Tony <tony.luck@intel.com> | 2013-09-03 14:49:49 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-03 15:36:42 -0700 |
commit | d472d9d98b463dd7a04f2bcdeafe4261686ce6ab (patch) | |
tree | 05972418a7e71d3e8d5a9c8c8d5e1dc22f013c5b /lib/ratelimit.c | |
parent | 2f01ea908bcf838e815c0124b579513dbda3b8c8 (diff) | |
download | linux-d472d9d98b463dd7a04f2bcdeafe4261686ce6ab.tar.bz2 |
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 <tony.luck@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/ratelimit.c')
0 files changed, 0 insertions, 0 deletions