mmap len limits
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
On Tue, Jul 28, 2015 at 4:53 PM, Alex Merritt <merritt.alex at gmail.com>
> 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...
More information about the Users