[lkml]   [2003]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Race between vmtruncate and mapped areas?
On Thu, 2003-05-15 at 16:17, Andrea Arcangeli wrote:

> no, the spin_lock only acts as a barrier in one way, not both ways, so
> an smp_something is still needed.

Can you explain this more? On a x86, isn't a spin_lock a lock; dec
instruction and the rmb() a lock; addl. I thought x86 instructions
with lock prefix provided a memory barrier.

Just curious,

Daniel McNeil <>

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

 \ /
  Last update: 2005-03-22 13:35    [W:0.062 / U:0.924 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site