Use stbar after releasing spinlocks to avoid livelock.