Re: Improve spinlock performance by moving work to one core

From: Waiman Long
Date: Mon Nov 30 2015 - 15:56:05 EST


On 11/30/2015 01:17 AM, Ling Ma wrote:
Any comments, the patch is acceptable ?

Thanks
Ling


Ling,

The core idea of your current patch hasn't changed from your previous
patch.

My comment is that you should not attempt to sell it as a replacement
of the current spinlock mechanism. I just don't see that will happen
given the change in API semantics. Also, I think there are probably
cases that your patch cannot be applied. So treat it as a separate
synchronization mechanism that can be useful in some scenarios.

Cheers,
Longman

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/