The manual page is old, I will correct it. On 64-bit machines len is not limited to 2G
-Matt On Tue, Jul 28, 2015 at 4:53 PM, Alex Merritt <[email protected]> wrote: > Hi, > > In MMAP(2) it states "len is limited to 2GB" as offsets are 32-bit. Should > this be saying the offset is limited to 2G, or is this statement correct? > > Why can sys_mmap not simply accept any len, then repeatedly call kern_mmap > across the range in 2GB chunks, keeping this transparent to the user? > > -Alex >
