Date: Mon, 01 Sep 2003 11:07:11 +0200 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: "Kenneth D. Merry" <ken@kdm.org> Cc: current@FreeBSD.org Subject: Re: need some debugging help Message-ID: <29645.1062407231@critter.freebsd.dk> In-Reply-To: Your message of "Mon, 01 Sep 2003 00:48:41 MDT." <20030901064840.GA61253@panzer.kdm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20030901064840.GA61253@panzer.kdm.org>, "Kenneth D. Merry" writes: >In particular, I went through some interesting permutations in >taskqueue_kthread() to make things work right: > > - I tried holding Giant when calling tsleep, but it complained that I > didn't own Giant. I have had a similar issue a couple of places in the giant/no-giant shims for GEOM. I found one convenient trick was to sleep with a timeout instead. It's not beautiful but it works. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29645.1062407231>