Replace fast spinlocks by adaptive spinlocks which are faster on SMP