Thread (47 messages) 47 messages, 7 authors, 2003-05-17

Re: Race between vmtruncate and mapped areas?

From: Daniel McNeil <hidden>
Date: 2003-05-17 00:14:48
Also in: lkml

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 [off-list ref]

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help