Messages in this thread | | | Date | Thu, 4 Dec 2014 21:45:46 +0000 | From | One Thousand Gnomes <> | Subject | Re: [PATCH RFC] locking: Add volatile to arch_spinlock_t structures |
| |
> anywhere in that translation unit. After all, any non-static function > in that translation unit might be called from some other translation > unit that -did- use locking or whatever. > > I will let you know how it goes. ;-)
It breaks DEC10 ;-)
If there is kickback over things like optimisation perhaps the gcc maintainers could at least consider something like
int __attribute((threadsafe)) fred;
??
Alan
| |