malloc.3: Minor fix: reword to ease understanding

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-09-14 17:53:37 +02:00
parent c0d3d8fe5c
commit 336e15b267
1 changed files with 6 additions and 4 deletions

View File

@ -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