mmap limits
Hi,
Is there any architectural reason why one should not be able
to mmap more than 2GB from /dev/zero, assuming there's enough physical memory plus swap?
At present atempts to mmap more than 2G fail with ENOMEM, and I believe this is a bug.
Peter C
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Peter Chubb
Peter> Hi, Is there any architectural reason why one should not be Peter> able to mmap more than 2GB from /dev/zero, assuming there's Peter> enough physical memory plus swap?
No.
Peter> At present atempts to mmap more than 2G fail with ENOMEM, and Peter> I believe this is a bug.
Yes, sounds like it.
--david