mmap len limits

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


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20150728/30e8fed6/attachment.html>


More information about the Users mailing list