From owner-freebsd-hackers Mon Jan 4 22:59:33 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA09034 for freebsd-hackers-outgoing; Mon, 4 Jan 1999 22:59:33 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from obie.softweyr.com ([204.68.178.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA09029 for ; Mon, 4 Jan 1999 22:59:31 -0800 (PST) (envelope-from wes@softweyr.com) Received: from softweyr.com (zaphod.softweyr.com [204.68.178.35]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id XAA17418; Mon, 4 Jan 1999 23:58:55 -0700 (MST) (envelope-from wes@softweyr.com) Message-ID: <3691B82E.1D4E4B99@softweyr.com> Date: Mon, 04 Jan 1999 23:58:54 -0700 From: Wes =?iso-8859-1?Q?Peters=D4?==?iso-8859-1?Q?=40=21=EA?= =?iso-8859-1?Q?=80?==?iso-8859-1?Q?=EA?==?iso-8859-1?Q?=80=DD=E7?= =?iso-8859-1?Q?=805=EA?==?iso-8859-1?Q?=C0?==?iso-8859-1?Q?=EA?= Organization: Softweyr llc X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Terry Lambert CC: Alfred Perlstein , hackers@FreeBSD.ORG Subject: Re: question about re-entrancy. References: <199901050315.UAA02641@usr05.primenet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Terry Lambert wrote: > > Alfred Perlstein wrote: > > > I'm a bit confused. I've been watching the discussions going on about > > SMP. The issue of kernel re-entrancy has been brought up many times. > > [Detailed answer elided...] > > It's a lot of work, but it's not rocket science. The most > complicated piece is the lock manager; to do it right, you need > a five dimensional vector relationship (an arc describing the > intersection of three two dimensional vectors: the lock list > held by a locking entity, the hierarchical list of lockable objects, > and the relationship between multiple locking entities within a > single process -- threads within a process). If you wish to see a working example of a microkernel using object locks, take a peek at the RTEMS kernel. It's quite portable, and supports SMP systems out of the box. See http://www.oarcorp.com/rtems/rtems.html for information. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.softweyr.com/~softweyr wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message