From owner-freebsd-current Tue Nov 3 13:33:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA14195 for freebsd-current-outgoing; Tue, 3 Nov 1998 13:33:52 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA14186 for ; Tue, 3 Nov 1998 13:33:49 -0800 (PST) (envelope-from eischen@vigrid.com) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id QAA22300; Tue, 3 Nov 1998 16:33:32 -0500 (EST) Date: Tue, 3 Nov 1998 16:33:32 -0500 (EST) From: Daniel Eischen Message-Id: <199811032133.QAA22300@pcnet1.pcnet.com> To: eischen@vigrid.com, james@westongold.com, peter@netplex.com.au Subject: RE: Kernel threading (was Re: Thread Scheduler bug) Cc: current@FreeBSD.ORG, jb@cimlogic.com.au, lists@tar.com Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > From: Peter Wemm [mailto:peter@netplex.com.au] > > Sent: Sunday, November 01, 1998 3:30 PM > > ... > > - a "process" (struct proc) would have one or more threads, > > all using the > > same address space, pid, signals, etc. > > ... > > I'd like to suggest that threads (at least kernel threads) > should share an address space EXCEPT for a page (or maybe > more than one) that will have a common address in each thread. What about same process threads executing on multiple processors? common_address[MAX_CPUS] ? > This is how OS/2 (at least) handles thread specific data, > and so far as I can tell it is potentially much cleaner > for TSD, including errno. > > > Any user-level multiplexing would need to save/restore this > data on task switch of course and a kernel-assist that changes > the memory map might be faster (or might not, dunno). > > Can I ask (plead, really) for any effort in this area to > consider the support for inter-process synchronisation as well > as intra-process? Dan Eischen eischen@vigrid.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message