lkml.org 
[lkml]   [1998]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Ulimit Probrems with Linux
Date
Followup to:  <Pine.LNX.3.96dg4.980821193611.26012Q-100000@twinlark.arctic.org>
By author: Dean Gaudet <dgaudet-list-linux-kernel@arctic.org>
In newsgroup: linux.dev.kernel
> On linux you have to use RLIMIT_AS, RLIMIT_DATA is useless. This is a
> conspiracy between the kernel and libc to produce a bug... whose fault it
> is you can debate. But unix98 does say that RLIMIT_DATA affects memory
> allocated by malloc() ... it just doesn't count mmap(). Too bad malloc
> uses mmap.
>
> Dean
>

Sounds like malloc() should pass a nonstandard mmap() flag which makes
it could towards RLIMIT_DATA.

-hpa
--
PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See http://www.zytor.com/~hpa/ for web page and full PGP public key
I am Bahá'í -- ask me about it or see http://www.bahai.org/
"To love another person is to see the face of God." -- Les Misérables

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:44    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site