Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2007 16:48:44 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=)
To:        Anton Yuzhaninov <citrin@citrin.ru>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Why max mmap size limited to half of virtual address space?
Message-ID:  <86odmx5elf.fsf@dwp.des.no>
In-Reply-To: <782951585.20070312131034@citrin.ru> (Anton Yuzhaninov's message of "Mon, 12 Mar 2007 13:10:34 %2B0300")
References:  <782951585.20070312131034@citrin.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Anton Yuzhaninov <citrin@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
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86odmx5elf.fsf>