On Tue, Dec 03, 2002 at 11:29:46PM +0100, Marcus Brinkmann wrote: > > In general I don't think the kernel should do a lot of work to make the > > interface easier for the caller, but the other way around. So special > > cases for the last element and so forth are questionable. > > I think it is important to make the last element open ended, because of the > possibility of resizing files. If a file is grown, I think you should be > able to map the grown area from the proxy object you already got without > calling io_map again. This keeps a read only proxy object for a file in > sync with the writable object if it changes size. But maybe I am thinking > wrong about resizing of memory objects, I never really looked into the > extensions you did to make it possible.
Maybe this can be done by using (vm_size_t) -1 (ie, 0xffffffff) as length/end argument, rather than by omitting it? This seems to me to mean the right thing in a natural way. 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