mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch 0/2] use asm() for atomic_{read|set} (shot 2)
@ 2007-08-15 20:54 Sebastian Siewior
  2007-08-15 20:54 ` [patch 1/2] i386: use asm() like the other atomic operations already do Sebastian Siewior
  2007-08-15 20:54 ` [patch 2/2] x86_64: " Sebastian Siewior
  0 siblings, 2 replies; 3+ messages in thread
From: Sebastian Siewior @ 2007-08-15 20:54 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andi Kleen, Chris Snook

Diff to last post:
- no __*__ functions used.
- no white space fixes.

I converted i386+x86-64 arch. The description of both patches contains the 
file size of four kernel builds:
- "normal" is 28e8351ac22de25034e048c680014ad824323c65 as it
- "inline asm" is with this patch
- "inline volatile" is *(volatile int *)&(v)->counter as a static inline
  function
- "volatile" is *(volatile int *)&(v)->counter as a #define macro

Sebastian
-- 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-16  7:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-15 20:54 [patch 0/2] use asm() for atomic_{read|set} (shot 2) Sebastian Siewior
2007-08-15 20:54 ` [patch 1/2] i386: use asm() like the other atomic operations already do Sebastian Siewior
2007-08-15 20:54 ` [patch 2/2] x86_64: " Sebastian Siewior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome