Re: [PATCH v3 0/3] locking/spinlock_debug: Change it to a mostly fair lock

From: Peter Zijlstra
Date: Wed Feb 08 2017 - 04:43:22 EST


On Tue, Feb 07, 2017 at 11:53:08AM -0800, Paul E. McKenney wrote:
> My usual question is "how often does the spinlock_debug code find a
> problem that would be hard to find otherwise?" Probably unanswerable
> given the nature of Linux-kernel development, but I figured I would ask
> anyway. ;-)

So I've not found it useful in many years, and quite to the contrary,
its proven prone to generate false positives because the lock timeout
gets hit because of various reasons.

But that's just me of course..