Why max mmap size limited to half of virtual address space?
Dag-Erling Smørgrav
des at des.no
Tue Mar 13 15:48:53 UTC 2007
Anton Yuzhaninov <citrin at citrin.ru> writes:
> Why max mmap size limited to half virtual address space?
Because you also need address space for the kernel, your program, the
libraries it uses and the data it works on (including the stack).
> May be this check can be removed? It test it on FreeBSD 6.2 i386 -
> without this check a can map 2400 Mb file.
There's very little to gain from doing so. If you need more address
space than 2 GB, switch to a 64-bit platform.
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-hackers
mailing list