Subject: memory allocation?
To: None <tech-kern@netbsd.org>
From: Zeljko Vrba <zvrba@globalnet.hr>
List: tech-kern
Date: 07/06/2005 11:05:56
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Hi!

I need to have user processes to allocate more than 1GB of memory, the
default of MAXDSIZ on i386. What is the largest safe size? 3GB?

Also, how does sbrk/brk work? In uvm_mmap.c sys_sbrk returns ENOENT? C
library calls comined sbrk (user memory) and mmap (page directory) for
memory allocation.

I'm confused.. anyway, is 3GB limit safe to recompile the kernel?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCy570FtofFpCIfhMRA6o7AJ97oigqaLEVnJme3+dZ4FGTB+pM7wCaAgXd
8o6hV3CTAz71uhQSpQjGD6U=
=uryN
-----END PGP SIGNATURE-----