kernel - Improve spinlock performance a bit