Messages in this thread |  | | Subject | Re: Race between vmtruncate and mapped areas? | From | Daniel McNeil <> | Date | 16 May 2003 17:27:25 -0700 |
| |
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 <daniel@osdl.org>
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |