From owner-freebsd-arch Sun Dec 12 5: 9: 7 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 CC3E814F0A for ; Sun, 12 Dec 1999 05:09:05 -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 OAA22277 for ; Sun, 12 Dec 1999 14:09:04 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id OAA49020 for freebsd-arch@freebsd.org; Sun, 12 Dec 1999 14:09:04 +0100 (MET) Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 0B7F214E49 for ; Sun, 12 Dec 1999 05:08:57 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from vigrid.com (pm3-pt10.pcnet.net [206.105.29.84]) by pcnet1.pcnet.com (8.8.7/PCNet) with ESMTP id IAA27757; Sun, 12 Dec 1999 08:08:55 -0500 (EST) Message-ID: <38539E44.537A57E@vigrid.com> Date: Sun, 12 Dec 1999 08:08:20 -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: Julian Elischer , arch@freebsd.org Subject: Re: Recent face to face threads talks. References: <38539C2B.9632089A@vigrid.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I should caffeinate before reading Email! "Daniel M. Eischen" wrote: > Yes, we can pass the trapframe/context of a preempted or unblocked thread > out to the upcall handler and not have to use a different call-gate. > One advantage of another call-gate could be faster access to the > unblocked thread. In order for the UTS to locate an unblocked thread > from the information provided in the upcall, the UTS has to walk the > unblocked thread list looking for the KSE ID. If you use another ^^^^^^^^^ blocked > syscall-gate and provide the address of an IOCB, the address of the > IOCB can be given to the blocked upcall handler. The UTS can then > place the pointer to the thread struct in the IOCB. When the thread > unblocks, the address of the IOCB is provided to the upcall handler > and the UTS can just dereference it to find the thread struct. > > Dan Eischen > eischen@vigrid.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message