[linux-pm] [patch] Re: using long instead of atomic_t when only set/read is required

Alan Cox alan at lxorguk.ukuu.org.uk
Mon Mar 3 07:53:30 PST 2008


> Atomicity of reads of write for pointers and integral types (other than 
> long long) should be documented.

NAK.

Atomicity of reads or writes for pointers and integral types is NOT
guaranteed. Gcc doesn't believe in your guarantee.

Alan


More information about the linux-pm mailing list