Skip to contentSkip to conversation

mmap limits

Linux-ia64 Peter Chubb 2 participants 2 messages Mar 14, 2002 – Mar 15, 2002

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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