mmap len limits
Matthew Dillon
dillon at backplane.com
Tue Jul 28 19:51:31 PDT 2015
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 <merritt.alex at gmail.com>
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20150728/29087560/attachment-0002.html>
More information about the Users
mailing list