Follow-up r365371 by removing sentences which indicate the state of the

MK_MALLOC_PRODUCTION option on -CURRENT.

Also, for the sake of backwards compatibility, support the old way of
enabling 'production malloc', e.g. by adding a define in make.conf(5).

MFC after:	1 week
X-MFC-With:	r365371
This commit is contained in:
Dimitry Andric 2020-09-06 09:08:06 +00:00
parent 7d4374f65f
commit 86b019c29a
3 changed files with 1 additions and 3 deletions

View File

@ -45,6 +45,6 @@ MLINKS+= \
jemalloc.3 nallocx.3 \
jemalloc.3 malloc.conf.5
.if ${MK_MALLOC_PRODUCTION} != "no"
.if ${MK_MALLOC_PRODUCTION} != "no" || defined(MALLOC_PRODUCTION)
CFLAGS+= -DMALLOC_PRODUCTION
.endif

View File

@ -2,4 +2,3 @@
Set to enable assertions and statistics gathering in
.Xr malloc 3 .
It also defaults the A and J runtime options to on.
Enabled by default on -CURRENT.

View File

@ -2,4 +2,3 @@
Set to disable assertions and statistics gathering in
.Xr malloc 3 .
It also defaults the A and J runtime options to off.
Disabled by default on -CURRENT.