Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2003 10:24:34 +0100
From:      Bruce M Simpson <bms@spc.org>
To:        Seigo Tanimura <tanimura@tanimura.dyndns.org>
Cc:        arch@freebsd.org
Subject:   Re: Embedding a vnode type to its interlock mutex type
Message-ID:  <20030818092434.GB2392@spc.org>
In-Reply-To: <200308180713.h7I7DQPE005765@urban>
References:  <200308180713.h7I7DQPE005765@urban>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 18, 2003 at 04:13:26PM +0900, Seigo Tanimura wrote:
> In short: A vnode should embed its type name (VREG, VCHR, etc.) in the
> type of the interlock mutex to avoid a false LOR alarm by Witness.

I think I may have run into something similar with VM mutexes, but need
to sit down and perform more in-depth testing to be sure about this.

It does appear as though WITNESS only checks the name of the mutex, not
the address of the mutex, which would presumably be a suitable key to
differentiate them uniquely.

BMS



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