At 5:32 PM +0000 1/24/03, Dave Mitchell wrote:
On Fri, Jan 24, 2003 at 07:23:04AM +0100, Leopold Toetsch wrote:
 How many mmap's can $arch have for one program and for all?
 Could we hit some limits here, if every module loaded gets (and stays)
 mmap()ed.
I just wrote a quick C program that successfully mmap-ed in all 1639
files in my Linux box's /usr/share/man/man1 directory.
Linux is not the universe, though. And what it'll do depends on the version. We have to worry about Windows and a half-zillion other flavors of Unix, at the very least. IIRC, some versions of BSD weren't too thrilled about a lot of mmaps.

Note that in Perl5 we already (indirectly) rely on the OS's ability to
mmap in the library code for any XS-based modules.
No, we use dlopen, which isn't the same thing at all. It can be, but doesn't have to me.
--
Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk


Reply via email to