lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 27 Oct 2009 03:23:12 -0700
From:	"Leonidas ." <>
To:	Michael Schnell <>
Cc:	Stefan Richter <>,
	Noah Watkins <>,
	linux-kernel <>
Subject: Re: Difference between atomic operations and memory barriers

On Tue, Oct 27, 2009 at 3:21 AM, Michael Schnell <> wrote:
> Leonidas . wrote:
>> any_t *ptr = something;
>> is always atomic even on SMPs without using locks, barriers then my
>> doubt is cleared. Thanks.
> I assume that this only holds if the pointer (not the thing it points
> to) is denoted as volatile.
> -Michael

I dont think so,  volatile would only ensure no caching, so some cpus
might see the cached
pointer (this is where you would want to use barriers), but pointer
assignment would still be atomic.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists