Re: [PATCH v6 4/5] MCS Lock: Barrier corrections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 25, 2013 at 10:02:50AM -0800, Paul E. McKenney wrote:
> And if the two locks are different, then the guarantee applies only
> when the unlock and lock are on the same CPU, in which case, as Linus
> noted, the xchg() on entry to the slow path does the job for use.

But in that case we rely on the fact that the thing is part of a
composite and we should no longer call it load_acquire, because frankly
it doesn't have acquire semantics anymore because the read can escape
out.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]