On Tue, Dec 03, 2002 at 08:29:20PM -0800, Thomas Bushnell, BSG wrote: > Marcus Brinkmann <[EMAIL PROTECTED]> writes: > > > > Also, it seems worthwhile to make it possible to have a hole. Maybe you > > > intended that but didn't say. e.g. an object[i] that is MACH_PORT_NULL > > > means a hole at start[i]. > > > > Well, I did say it: > > > > "Note that you can specify MACH_PORT_NULL as a memobj if you want a hole." > > That's wrong, however. MACH_PORT_NULL, as a memory object, does not > mean "no object", it means "anonymously allocated memory". You > shouldn't overload that meaning, even if you can't (or don't want to > bother) providing the interface that it would mean.
Mmh, I was actually thinking of a hole as being anonymously allocated memory, ie, zero filled. Do we really need actual holes, ie, invalid pages? Can we use MACH_PORT_DEAD? Thanks, Marcus -- `Rhubarb is no Egyptian god.' GNU http://www.gnu.org [EMAIL PROTECTED] Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/ [EMAIL PROTECTED] http://www.marcus-brinkmann.de/ _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd