Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jun 2005 21:50:46 -0400
From:      Stephan Uphoff <ups@tree.com>
To:        Mohan Srinivasan <mohan_srinivasan@yahoo.com>
Cc:        "current@freebsd.org" <current@freebsd.org>
Subject:   Re: Kernel lockmgr races LK_UPGRADE against LK_SHARED...
Message-ID:  <1118886645.27369.128919.camel@palm>
In-Reply-To: <20050616004132.34622.qmail@web80606.mail.yahoo.com>
References:  <20050616004132.34622.qmail@web80606.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2005-06-15 at 20:41, Mohan Srinivasan wrote:
> This is on 4.x, but I'm posting to current, it's likely also
> an issue on current. Posting here hoping someone can shed 
> more info on this lockmgr race.
> 
> I've into a bug where process 1 successfully LK_UPGRADEs a
> vnode lock (from shared to excl) and process 2 successfully 
> acquires the shared lock on that same vnode. I am not sure
> what order the locks were acquired, it's not possible to 
> infer that from the core.
> 
> Does this bug ring a bell with anyone ? If it does, can they 
> shed any light/info they might have on this ?
> 
> thanks
> 
> mohan

Reminds me of:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/69934

Stephan




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