David van Moolenbroek 2e23f1755e libc: fix needless malloc failures
The NetBSD libc malloc implementation performs its own out-of-memory
check, presumably for performance reasons.  The check makes a strong
assumption about the address space layout, which is that memory-
mapped pages are always located above the heap.  However, this
assumption does not necessarily hold on MINIX3, thus resulting in
malloc reporting an out-of-memory condition without the system
actually being out of memory at all.  Evidence suggests that in
particular dynamically linked (i.e., pkgsrc) binaries were affected
by this issue - most notably git.

Change-Id: If542fbace0a1cce12aa9e075d51992cbbbf26e94
2015-10-28 01:13:04 +00:00
..
2015-03-18 07:49:03 +01:00
2014-07-28 17:05:24 +02:00
2015-09-29 18:15:28 +00:00
2014-09-30 12:39:03 +00:00
2014-07-31 16:00:30 +02:00
2014-08-28 18:49:19 +02:00
2015-03-18 07:49:03 +01:00
2015-10-28 01:13:04 +00:00
2015-06-07 17:01:45 +00:00
2014-09-08 17:30:18 +02:00