On 2017-10-19 2:05 AM, Helge Deller wrote:
Yes, there is a semaphore and interrupts are disabled, but the loads are not atomic from+ checking whether the compiler provides atomic builtins for 64 bit data types... yesAlthough the 32-bit parisc kernel now provides 64-bit atomics, I'd suggestto stay on "native word width" when writing locking functions. That means, on a 32-bit kernel ideally 32-bit atomics should be used. We believe that our 64-bit atomic functions do work, but there might be cornercases where it doesn't work 100% reliable.
a memory standpoint. So, I agree with Helge's comment. Dave -- John David Anglin dave.anglin@bell.net