path: root/UPDATING
diff options
authorDimitry Andric <dim@FreeBSD.org>2020-09-05 23:30:17 +0000
committerDimitry Andric <dim@FreeBSD.org>2020-09-05 23:30:17 +0000
commit7d4374f65f7b3df3d2567029c510f2e1576f0f69 (patch)
tree71dfb7b14c583f6b94dc521b8e1707d5e4160edc /UPDATING
parent12cb97fb375924033c760670920c8dcb94b2f52d (diff)
Turn MALLOC_PRODUCTION into a regular src.conf(5) option
For historical reasons, defining MALLOC_PRODUCTION in /etc/make.conf has been used to turn off potentially expensive debug checks and statistics gathering in the implementation of malloc(3). It seems more consistent to turn this into a regular src.conf(5) option, e.g. WITH_MALLOC_PRODUCTION / WITHOUT_MALLOC_PRODUCTION. This can then be toggled similar to any other source build option, and turned on or off by default for e.g. stable branches. Reviewed by: imp, #manpages MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D26337
Notes: svn path=/head/; revision=365371
Diffstat (limited to 'UPDATING')
1 files changed, 3 insertions, 3 deletions
diff --git a/UPDATING b/UPDATING
index ee971126e6f1..24db0cfcfe82 100644
@@ -22,9 +22,9 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW:
debugging flags in userland, and various verbose features in the
kernel. Many developers choose to disable these features on build
machines to maximize performance. (To completely disable malloc
- debugging, define MALLOC_PRODUCTION in /etc/make.conf, or to merely
- disable the most expensive debugging functionality run
- "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
+ debugging, define WITH_MALLOC_PRODUCTION in /etc/src.conf and rebuild
+ world, or to merely disable the most expensive debugging functionality
+ at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
OpenZFS support has been integrated. Do not upgrade root pools until