Skip site navigation (1)Skip section navigation (2)
Date:      25 Apr 2002 19:59:37 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Hiten Pandya <hiten@uk.FreeBSD.org>, current@FreeBSD.org
Subject:   Re: Spin lock (?) problems with MUTEX_PROFILING
Message-ID:  <xzplmbbwtfa.fsf@flood.ping.uio.no>
In-Reply-To: <XFMail.20020425131040.jhb@FreeBSD.org>
References:  <XFMail.20020425131040.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin <jhb@FreeBSD.org> writes:
> This means WITNESS is broken with MUTEX_PROFIING (I guess they were
> never tested together without WITNESS_SKIPSPIN).

WITNESS makes my box about as useful as a heap of bricks, so no,
MUTEX_PROFILING was never tested with WITNESS.

>                                                   The fix is for the
> MUTEX_PROFILING folks to add the spin lock into the spin lock order
> list in the proper location.

Junior kernel hacker task.  Note that it's always a leaf lock - no
lock is ever acquired while the profiling lock is held.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzplmbbwtfa.fsf>