Eric Dumazet
67d7178f8f
x86: atomic64: Improve atomic64_read()
Optimize atomic64_read() as a special open-coded
cmpxchg8b variant. This generates nicer code:
arch/x86/lib/atomic64_32.o:
text data bss dec hex filename
435 0 0 435 1b3 atomic64_32.o.before
431 0 0 431 1af atomic64_32.o.after
md5:
bd8ab95e69c93518578bfaf0ea3be4d9 atomic64_32.o.before.asm
2bdfd4bd1f6b7b61b7fc127aef90ce3b atomic64_32.o.after.asm
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>
LKML-Reference: <alpine.LFD.2.01.0907021653030.3210@localhost.localdomain>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-07-03 14:42:59 +02:00
..
2009-07-03 14:42:59 +02:00
2007-10-11 11:16:33 +02:00
2007-10-11 11:17:08 +02:00
2007-10-11 11:17:08 +02:00
2008-07-30 10:10:39 -07:00
2008-07-30 10:10:39 -07:00
2007-10-11 11:17:08 +02:00
2008-05-13 19:38:47 +02:00
2008-02-19 16:18:32 +01:00
2009-06-25 16:47:40 -07:00
2009-02-13 11:35:01 -08:00
2008-02-19 16:18:32 +01:00
2007-10-11 11:17:08 +02:00
2009-07-03 13:26:39 +02:00
2008-04-17 17:40:49 +02:00
2009-03-12 12:21:17 +01:00
2008-04-17 17:40:48 +02:00
2007-10-11 11:17:08 +02:00
2008-04-17 17:40:47 +02:00
2009-06-10 12:18:43 +02:00
2008-07-09 09:14:13 +02:00
2007-10-17 20:16:29 +02:00
2008-04-17 10:42:34 -04:00
2008-08-15 16:53:25 +02:00
2008-08-15 16:53:24 +02:00
2008-05-23 20:32:46 +02:00
2008-05-23 20:32:46 +02:00
2009-01-21 09:43:17 +01:00
2009-06-20 15:40:00 -07:00