lkml.org 
[lkml]   [2014]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC] locking: Add volatile to arch_spinlock_t structures
On Thu, Dec 04, 2014 at 12:00:52PM -0800, Paul E. McKenney wrote:

[ . . . ]

> So any compiler that clobbers some adjacent non-bitfield variable or
> field that is accessible by other threads is not just despicable, it
> fails to conform to the standard.
>
> Whew! ;-)

And part of the reason for my confusion is that I am using an old version
of gcc, 4.6.3. Apparently this aspect of gcc wasn't fixed until 4.7
or thereabouts.

Thanx, Paul



\
 
 \ /
  Last update: 2014-12-04 21:41    [W:0.038 / U:1.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site