Re: 4GB VM for 32 bit processes

From: Loic Domaigne (loic-dev_at_gmx.net)
Date: 08/28/03


Date: 28 Aug 2003 07:52:04 +0000

Hi!

> Thanks Jerry, Casper, Loic, Eric,

You're welcome!

> The answers do give me insight of memory management. Does
> getrlimit(RLIMIT_AS, &rlimit) ; rlimit.rlim_max returns me correct user
> area value(According to kernel parameters)?

If you mean e.g. that the user-space/kernel-space splitting is token into
account, I doubt! Indeed RLIM_INFINITY could be returned. I'm not sure if
the meaning of RLIM_INFINITY is the same on all implementations.

For instance, on Linux, you can get RLIM_INFINITY, although the answer is
really 3G assuming a 3G-1G splitting. I don't know if that particular
getrlimit() implementation is conform to SUS, but I would think so.

Cheers,
Loic.

-- 
Article posté via l'accès Usenet http://www.mes-news.com 
Accès par Nnrp ou Web