[RFC] atomic_up operations

Mathieu Desnoyers <[email protected]>
Newsgroups gmane.linux.kernel.tracing
Message-ID <20061109161812.GA17165@Krystal>
Hi,

LTTng 0.6.28-29 introduces asm-*/atomic-up.h which has atomic operations without
LOCK prefix event on SMP. This is for atomic access of per-cpu data.

RFC : cmpxchg is implemented in asm-*/system.h. I always thought it was a weird
design choice. I would much prefer to put it in asm-*/atomic.h, thus placing my
cmpxchg_up in atomic-up.h. Otherwise, I have to modify system.h, which is what I
currently do and would like to avoid.

Mathieu

OpenPGP public key:              http://krystal.dyndns.org:8080/key/compudj.gpg
Key fingerprint:     8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.