On Wed, Feb 26, 2014 at 02:59:03PM +0800, Li Zefan wrote:
> Hi Greg,
>
> Please queue the following two fixes for 3.10.
>
> 15e7e5c1ebf556cd620c9b091e121091ac760f6d
> ("ARM: 7749/1: spinlock: retry trylock operation if strex fails on free lock")
>
> 00efaa0250939dc148e2d3104fb3c18395d24a2d
> ("ARM: 7812/1: rwlocks: retry trylock operation if strex fails on free lock")
>
>
> We found spin_trylock() occasionally fails without lock contention on 3.10.x
> when running a simple test.
>
> for (i = 0; i < 1000000; i++) {
> if (!spin_trylock(&testlock)) {
> printk("Get lock failed: %d!\n", i);
> continue;
> }
> spin_unlock(&testlock);
> }
>
> and the bug can be fixed by these two commits.
Now queued up, thanks.
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html