[lkml]   [1998]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Ulimit Probrems with Linux
Followup to:  <>
By author: Dean Gaudet <>
In newsgroup:
> 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.

PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See for web page and full PGP public key
I am Bahá'í -- ask me about it or see
"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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:44    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean