mmap len limits

Alex Merritt merritt.alex at
Tue Jul 28 16:53:26 PDT 2015


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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Users mailing list