[PATCH] ARM: spinlock: avoid exclusive accesses on unlock() path
From: 马文健 <hidden>
Date: 2018-08-07 01:59:13
Hi while one cpu is doing arch_spin_unlock,another cpu doing arch_spin_lock the first cpu's lock->tickets.owner++; may be over writed by the second's strex %2, %1, [%3]\n so the owner filed doesn't get increased. But i'm not sure about this, may be there are something i have missed. Thanks. ------------------ Original ------------------