Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 1999 17:29:17 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: printing vm_offset_t's
Message-ID:  <13978.31357.733080.874939@grasshopper.cs.duke.edu>
In-Reply-To: <199901112157.OAA00863@usr05.primenet.com>
References:  <13978.22696.445924.502770@grasshopper.cs.duke.edu> <199901112157.OAA00863@usr05.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Terry Lambert writes:
 > >  > External code that depends on kernel structures is inherently broken;
 > >  > think of this as an opportunity to correct the external code.
 > > 
 > > Last I checked, it was rather difficult to write kernel code, such as
 > > a device driver, without depending on at least some kernel structures.
 > 
 > Device drivers are internal to the kernel, not external.
 > 
 > Maybe you mean "third party", and not "external"?

Ah, that's what you meant.  I think of things outside the source tree
as external.  I think of things outside the kernel as userland.  So,
in your terms, I mean 3rd party.

 > When I see "external code depending on kernel structures...", I
 > inevitably think of "ps" and similar code that has to be recompiled
 > when the kernel data structures change because some idiot thought
 > it's be a good idea to read the KVA space instead of implementing a
 > procedural interface that wouldn't change between structure revs.
 > 

;-)

Drew

------------------------------------------------------------------------------
Andrew Gallatin, Sr Systems Programmer	http://www.cs.duke.edu/~gallatin
Duke University				Email: gallatin@cs.duke.edu
Department of Computer Science		Phone: (919) 660-6590

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13978.31357.733080.874939>