From owner-freebsd-arch Tue Nov 23 23:35:32 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 CF98214C8E for ; Tue, 23 Nov 1999 23:35:28 -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 IAA26338 for ; Wed, 24 Nov 1999 08:34:25 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id IAA32516 for freebsd-arch@freebsd.org; Wed, 24 Nov 1999 08:34:25 +0100 (MET) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 6E38214F77 for ; Tue, 23 Nov 1999 23:34:14 -0800 (PST) (envelope-from julian@whistle.com) Received: from current1.whiste.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id XAA60550; Tue, 23 Nov 1999 23:34:02 -0800 (PST) Date: Tue, 23 Nov 1999 23:34:02 -0800 (PST) From: Julian Elischer To: Nate Williams Cc: "Daniel M. Eischen" , freebsd-arch@freebsd.org Subject: Re: Threads In-Reply-To: <199911210527.WAA13788@mt.sri.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 20 Nov 1999, Nate Williams wrote: > > > > New calls must be able to return and say > > > > "hey it's not me returnuing, but actually a new KSE, " > > > > > > Not only that, but you need a way for it to be 'aborted' out and have it > > > cleanup as it goes. I suspect that this will require re-writing a large > > > number of syscalls with threading in mind, and leaving the 'old' calls > > > in place will allow more flexibility as things change. > > > > > > I could envision the 'old' calls going away at some point as the new > > > calls get completely fleshed out and tested, to be replaced with simple > > > wrappers for the threaded calls. > > > > Maybe in the libraries, but we will need to keep the old syscalls in the > > kernel effectively forever. (for old binaries) It's not much of a cost.. > > (look at linux emulation). > > Like I said above, the old calls could be simple wrappers for the new > 'threaded' syscalls, which gives us the ability to have both. > > The 'old' implementations would go away, not the old calls. The advantage of the methid that Dan is talking about (and I too) is that really there doesn't have to be very much re-writing of syscalls. you can basically do all the work in the tsleep call, the mswitch and teh trap (syscall) code. everything in between those points basically stays pretty much as-is. > > > Nate > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message