This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] test-skeleton.c: Do not set RLIMIT_DATA [BZ #19648]


On 02/20/2016 03:13 PM, Florian Weimer wrote:
> With older kernels, it is mostly ineffective because it causes malloc
> to switch from sbrk to mmap (potentially invalidating malloc testing
> compared to what real appliations do).  With newer kernels which
> have switched to enforcing RLIMIT_DATA for mmap as well, some test
> cases will fail in an unintended fashion because the limit which was
> set previously does not include room for all mmap mappings.

I have committed this.

Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]