Subject: Re: Removing compat/aout
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-kern
Date: 03/08/2002 12:56:48
On Fri, 8 Mar 2002, Jonathan Stone wrote:
: >I agree that this is something that needs improvement, and I've mentioned it
: >before. It would be relatively easy (even if tedious to sweep through the
: >code) to migrate this to an abstraction.
:
: .... it's been on various todo lists since what, 1997? :), and we
: seem to be (slowly) getting there. -current has a well-defined slot
: for the prefix (if used, and a single set of ALT_ macros, rather than
: a distinct set of macros for each emul.
Right, but you still need to inject those macros all over the place. I'd be
curious as to how much a system would be slowed down on native file
accesses if the path translation took place within namei() itself for native
or emul. (This would allow many of the emul functions simply to collapse to
their sys_*() counterparts.)
--
-- Todd Vierling <tv@wasabisystems.com> * Wasabi & NetBSD: Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/