lkml.org 
[lkml]   [2008]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] Re: using long instead of atomic_t when only set/read is required


On Mon, 3 Mar 2008, Rafael J. Wysocki wrote:
>
> Well something like this could happen, in theory, on a "32-bit" architecture
> with a 16-bit bus.

No it couldn't.

That would only be true if there is no cache, and no cache coherency.

Basically, Linux requires a cache-coherent architecture to work in SMP.
Anything else is insane (except as a cluster).

So there is no way we can see partial updates, except with terminally
broken hardware that we would never support anyway for tons of other
reasons.

Linus


\
 
 \ /
  Last update: 2008-03-03 23:27    [W:0.450 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site