NetBSD/usr.bin/cmp
dsl afc59ef61f mmap normal files in 1MB chunks.
Due to a bug in mmap() the address space isn't counted against ulimit
until the page is faulted in - so mmapping a large file suceeds, but
cmp SIGSEGVs when it runs out of address space.
Also I don't believe that the madvise( MAP_SEQUENTIAL) has the desired
effect, and mmaping a large file is probably very bad for the UBC.
2005-02-06 21:19:46 +00:00
..
Makefile
cmp.1
cmp.c
extern.h
misc.c
regular.c mmap normal files in 1MB chunks. 2005-02-06 21:19:46 +00:00
special.c