Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2003 23:01:50 -0400 (EDT)
From:      Robert Watson <rwatson@freebsd.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        current@freebsd.org
Subject:   Re: LOR with filedesc structure and Giant
Message-ID:  <Pine.NEB.3.96L.1030815225914.97011A-100000@fledge.watson.org>
In-Reply-To: <20030816003534.GA71111@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, 15 Aug 2003, Kris Kennaway wrote:

> The problem seems to be due to select() being called on the /dev/null
> device, and it is holding the filedesc lock when it reaches
> PICKUP_GIANT() in spec_poll.

Yeah, this is pretty much the same issue you've been bumping into for a
bit -- we hold filedesc lock over select(), which means every object we
poll can't grab a lock that either comes before the file descriptor lockin
the lock order, or that might sleep.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Network Associates Laboratories




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1030815225914.97011A-100000>