From owner-freebsd-hackers Sat Dec 20 08:32:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA26185 for hackers-outgoing; Sat, 20 Dec 1997 08:32:43 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from word.smith.net.au (ppp10.portal.net.au [202.12.71.110]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA26179 for ; Sat, 20 Dec 1997 08:32:37 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id CAA00362; Sun, 21 Dec 1997 02:56:22 +1030 (CST) Message-Id: <199712201626.CAA00362@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Michael Hancock cc: Mike Smith , John-Mark Gurney , freebsd-hackers@FreeBSD.ORG Subject: Re: converting drivers to dynamic memory... In-reply-to: Your message of "Sat, 20 Dec 1997 09:10:37 +0900." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 21 Dec 1997 02:56:21 +1030 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > ... but of course dereferencing a pointer (hardly) requires any > > parallelisation. Why go to all this complexity when all you are > > interesting in doing is taking an opaque token and obtaining the > > address of a (reasonably non-motile) structure? > > Sorry, I haven't been following the thread. I jumped in when I noticed > talk about data structures. If the structure is read-only then you don't > have a problem. We're talking about replacing dev_t with something more opaque; in this case something that can be dereferenced appropriately in order to immediately obtain a value (normally the softc structure address) saved when the device node was created. mike