From owner-freebsd-arch Sun Nov 28 19:15:18 1999 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id 49F39151CE for ; Sun, 28 Nov 1999 19:15:15 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id EAA07734 for ; Mon, 29 Nov 1999 04:15:14 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id EAA61184 for freebsd-arch@freebsd.org; Mon, 29 Nov 1999 04:15:14 +0100 (MET) Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id C0C58151CE for ; Sun, 28 Nov 1999 19:15:08 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from vigrid.com (pm3-pt45.pcnet.net [206.105.29.119]) by pcnet1.pcnet.com (8.8.7/PCNet) with ESMTP id WAA03824; Sun, 28 Nov 1999 22:15:07 -0500 (EST) Message-ID: <3841EFF2.667F105@vigrid.com> Date: Sun, 28 Nov 1999 22:16:02 -0500 From: "Daniel M. Eischen" X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Matthew Dillon Cc: Julian Elischer , arch@freebsd.org Subject: Re: Threads stuff References: <3841CFB4.F5B9A2BD@vigrid.com> <199911290133.RAA47395@apollo.backplane.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Dillon wrote: > > :If the kernel is going to automatically complete KSEs, then I would only > :do it when new KSEs block or when the process is resumed. The UTS is timing > :the current thread, so you don't want to do work for other threads while > :the UTS is going to count it against the currently running thread. If the > :kernel is not automatically completing the KSEs, then the UTS can be notified > :of unblocked KSEs at any time. > > The kernel *must* complete blocked KSE's or you run into a thousand > potential system deadlock situations. We have no choice there. The question is whether the kernel completes the KSEs automatically without direction from the UTS, or if the UTS is informed of the unblocking and later chooses to direct the kernel to complete the KSEs. The KSEs _will_ be completed, it's just who is directly responsible for their being completed. Dan Eischen eischen@vigrid.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message