diff options
| author | Nick Piggin <[email protected]> | 2006-03-23 11:01:02 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-03-23 15:38:17 +0000 |
| commit | 0b2fcfdb8b4e7e379192f24ea2203163ddf5df1d (patch) | |
| tree | 1f3995e41ab12ff76e737389e0b59a40c0c73668 /fs/file_table.c | |
| parent | [PATCH] fs/*/file.c: drop insane header dependencies (diff) | |
| download | kernel-0b2fcfdb8b4e7e379192f24ea2203163ddf5df1d.tar.gz kernel-0b2fcfdb8b4e7e379192f24ea2203163ddf5df1d.zip | |
[PATCH] atomic: add_unless cmpxchg optimise
Without branch hints, the very unlikely chance of the loop repeating due to
cmpxchg failure is unrolled with gcc-4 that I have tested.
Improve this for architectures with a native cas/cmpxchg. llsc archs
should try to implement this natively.
Signed-off-by: Nick Piggin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Roman Zippel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions
