summaryrefslogtreecommitdiffstats
path: root/sys/conf/NOTES
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2015-03-09 03:50:53 +0000
committermarkj <markj@FreeBSD.org>2015-03-09 03:50:53 +0000
commit25e41e0131227176ba3e292de17004267793257b (patch)
treec2951caec9b898eb9457779108d4f0b71d4607bb /sys/conf/NOTES
parentef19e8f5a5201503d97ab0010589e37aadf9e262 (diff)
downloadFreeBSD-src-25e41e0131227176ba3e292de17004267793257b.zip
FreeBSD-src-25e41e0131227176ba3e292de17004267793257b.tar.gz
Reimplement support for userland core dump compression using a new interface
in kern_gzio.c. The old gzio interface was somewhat inflexible and has not worked properly since r272535: currently, the gzio functions are called with a range lock held on the output vnode, but kern_gzio.c does not pass the IO_RANGELOCKED flag to vn_rdwr() calls, resulting in deadlock when vn_rdwr() attempts to reacquire the range lock. Moreover, the new gzio interface can be used to implement kernel core compression. This change also modifies the kernel configuration options needed to enable userland core dump compression support: gzio is now an option rather than a device, and the COMPRESS_USER_CORES option is removed. Core dump compression is enabled using the kern.compress_user_cores sysctl/tunable. Differential Revision: https://reviews.freebsd.org/D1832 Reviewed by: rpaulo Discussed with: kib
Diffstat (limited to 'sys/conf/NOTES')
-rw-r--r--sys/conf/NOTES9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 8b6a4c8..c0d5879 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -2889,11 +2889,6 @@ options SHMMNI=33
# a single process at one time.
options SHMSEG=9
-# Compress user core dumps.
-options COMPRESS_USER_CORES
-# required to compress file output from kernel for COMPRESS_USER_CORES.
-device gzio
-
# Set the amount of time (in seconds) the system will wait before
# rebooting automatically when a kernel panic occurs. If set to (-1),
# the system will wait indefinitely until a key is pressed on the
@@ -2983,3 +2978,7 @@ options RANDOM_DEBUG # Debugging messages
# Module to enable execution of application via emulators like QEMU
options IMAGACT_BINMISC
+
+# zlib I/O stream support
+# This enables support for compressed core dumps.
+options GZIO
OpenPOWER on IntegriCloud