Subject: Re: Replacement for grep(1) (part 2)
To: Doug Rabson <email@example.com>
From: Chris G. Demetriou <firstname.lastname@example.org>
Date: 07/14/1999 08:22:03
Doug Rabson <email@example.com> writes:
> Overcommit can be used for many reasons. I use it to reserve a large
> linear address space to mmap alpha i/o spaces [...]
Overcommit can be used for many reasons, but unless you've
misdescribed what you're doing, _that's not one of them_.
The mapped I/O pages need no backing store to be allocated for them by
the VM system. They're backed by hardware.
And if you have 'placeholder' pages (I note that you didn't say you
mmap all of alpha i/o space, just reserve a large linear address space
in which to mmap it), then it should be possible to map them in such a
way (e.g. read-only ZFOD) in which they wouldn't count against backing
store requirements, either.
Chris Demetriou - firstname.lastname@example.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.