From owner-freebsd-arch Mon Nov 1 4:35:38 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 D17DA150A8 for ; Mon, 1 Nov 1999 04:35:34 -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 NAA12530 for ; Mon, 1 Nov 1999 13:35:32 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id NAA72369 for freebsd-arch@freebsd.org; Mon, 1 Nov 1999 13:35:32 +0100 (MET) Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id B11BB150A8 for ; Mon, 1 Nov 1999 04:35:17 -0800 (PST) (envelope-from eischen@vigrid.com) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id HAA12131; Mon, 1 Nov 1999 07:34:01 -0500 (EST) Date: Mon, 1 Nov 1999 07:34:01 -0500 (EST) From: Daniel Eischen Message-Id: <199911011234.HAA12131@pcnet1.pcnet.com> To: jb@cimlogic.com.au, julian@whistle.com Subject: Re: Threads goals version III Cc: freebsd-arch@freebsd.org Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 10a/ Quick access to mutex state. > > One of the things that affects the performance of a threaded application > is the time that is consumed testing the state of a mutex. Without trying > to push this discussion into the "how it should be done phase", just > consider sharing mutex state between user- and kernel- space. We will > need a VM wizard at some point. 8-) I think scheduler activations solves this problem, so that the kernel need not now if a thread holds critical resources such as a mutex. Under scheduler activations, the threads library is informed of all events that affect scheduling, so that if a thread is swapped out while holding a critical resource, it can be resumed on the next available LWP. Dan Eischen eischen@vigrid.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message