tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: apparently missing locking in if_bnx.c



On Tue, Mar 06, 2012 at 07:37:44PM -0500, Beverly Schwartz wrote:
> Lockdebug, so far, has been entirely unhelpful, even detrimental.

Lockdebug is very usefull to catch a lot of locking errors and provide
great diagnostics. However, it has a very severe performance impact. So
if the problem you are hunting is not one of the lock-misuses lockdebug
can detect (like in the bnx case), it will not help. Worse, due to the
different timing it will change chances for all races involved, which
might even hide bugs.

Martin


Home | Main Index | Thread Index | Old Index