From owner-freebsd-current@FreeBSD.ORG Tue Jul 20 16:03:48 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 572D016A4CE; Tue, 20 Jul 2004 16:03:48 +0000 (GMT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id C942843D2F; Tue, 20 Jul 2004 16:03:47 +0000 (GMT) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) i6KG3kaD022671; Tue, 20 Jul 2004 17:03:46 +0100 (BST) (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)i6KG3ko9022670; Tue, 20 Jul 2004 17:03:46 +0100 (BST) (envelope-from mark@grondar.org) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])i6KFsCtW079782; Tue, 20 Jul 2004 16:54:13 +0100 (BST) (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200407201554.i6KFsCtW079782@grimreaper.grondar.org> To: Robert Watson In-Reply-To: Your message of "Tue, 20 Jul 2004 10:21:40 EDT." Date: Tue, 20 Jul 2004 16:54:12 +0100 Sender: mark@grondar.org X-Mailman-Approved-At: Wed, 21 Jul 2004 11:38:15 +0000 cc: jesk cc: scottl@FreeBSD.ORG cc: freebsd-current@FreeBSD.ORG cc: markm@FreeBSD.ORG Subject: Re: I/O or Threading Suffer X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 16:03:48 -0000 Robert Watson writes: > Mark -- how much > computation is being done here -- would it be worth dropping the Giant > lock during that computation so that the thread can yield without > generating a priority inversion? I'm sure it could. There are some Giant issues related to the UIO stuff that bit me in the bum when I removed the NEEDS_GIANT flag from the device, but I'm reasonably sure that with careful work this can be untangled. M -- Mark Murray iumop ap!sdn w,I idlaH