Re: [patch sungem] improved locking
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2006-11-29 00:19:42
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2006-11-29 00:19:42
On Tue, 2006-11-28 at 15:43 -0800, David Miller wrote:
At least in theory the atomic + any necessary memory barriers would be cheaper than the extra PIO read we need otherwise.
Yes, IO reads are generally the worst case scenarios even on machines with fairly slow locks. Ben.