Correct. In NetBSD you don't even need /dev/zero,just use MAP_ANON. One advantage of mmap() versus sbrk() is that you can do a GC malloc that returns memory to the system when not needed (I did this once). You can unmap() sbrk()ed pages, but then you never reuse that address space when you sbrk() again. -- Mark