From 336e15b267a725a617dcbd387e44541450e569b9 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 14 Sep 2017 17:53:37 +0200 Subject: [PATCH] malloc.3: Minor fix: reword to ease understanding Signed-off-by: Michael Kerrisk --- man3/malloc.3 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/man3/malloc.3 b/man3/malloc.3 index ac78662f7..db5080184 100644 --- a/man3/malloc.3 +++ b/man3/malloc.3 @@ -288,12 +288,14 @@ implementation allocates the memory as a private anonymous mapping using .B MMAP_THRESHOLD is 128\ kB by default, but is adjustable using .BR mallopt (3). -Allocations performed using +Prior to Linux 4.7 +allocations performed using .BR mmap (2) -are unaffected by the +were unaffected by the .B RLIMIT_DATA -resource limit only prior to Linux kernel 4.7 (see -.BR getrlimit (2)). +resource limit; +since Linux 4.7, this limit is also enforced for allocations performed using +.BR mmap (2). .PP To avoid corruption in multithreaded applications, mutexes are used internally to protect the memory-management