On Sat, 25 Jan 2003, Leopold Toetsch wrote: > Dan Sugalski wrote: > > > At 5:32 PM +0000 1/24/03, Dave Mitchell wrote: > > > >> 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.
How true. On Solaris, for example, mmap's are aligned on 64k boundaries, which leads to horrible virtual address space consumption when you map lots of small things. If we're mmap()ing things, we want to be sure they're fairly large. /s