git: 092687a03106 - main - kernel: Be clearer about what ZSTDIO is for
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 21 Mar 2026 07:22:07 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=092687a031064dc08ac198648c6393cc50b06cee
commit 092687a031064dc08ac198648c6393cc50b06cee
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-03-21 07:21:24 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-03-21 07:21:45 +0000
kernel: Be clearer about what ZSTDIO is for
ZSTDIO is not just for core dumps, and it is now required by ZFS, so
move it (and GZIO, which is still just for dumps) to a new “Compression
support” section in GENERIC, and add them both to MINIMAL.
MFC after: 1 week
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D55940
---
sys/amd64/conf/FIRECRACKER | 6 ++++--
sys/amd64/conf/GENERIC | 6 ++++--
sys/amd64/conf/MINIMAL | 4 ++++
sys/arm64/conf/std.arm64 | 6 ++++--
sys/conf/NOTES | 4 ++--
sys/i386/conf/GENERIC | 6 ++++--
sys/i386/conf/MINIMAL | 4 ++++
sys/powerpc/conf/GENERIC | 6 ++++--
sys/powerpc/conf/GENERIC64 | 6 ++++--
sys/powerpc/conf/GENERIC64LE | 6 ++++--
sys/riscv/conf/GENERIC | 6 ++++--
11 files changed, 42 insertions(+), 18 deletions(-)
diff --git a/sys/amd64/conf/FIRECRACKER b/sys/amd64/conf/FIRECRACKER
index a36fb974c24e..07c02d51ed4c 100644
--- a/sys/amd64/conf/FIRECRACKER
+++ b/sys/amd64/conf/FIRECRACKER
@@ -101,10 +101,12 @@ options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
options VERBOSE_SYSINIT=0 # Support debug.verbose_sysinit, off by default
+# Compression support
+options GZIO # gzip (dumps)
+options ZSTDIO # zstd (dumps, tarfs, uzip, zfs)
+
# Kernel dump features.
options EKCD # Support for encrypted kernel dumps
-options GZIO # gzip-compressed kernel and user dumps
-options ZSTDIO # zstd-compressed kernel and user dumps
options DEBUGNET # debugnet networking
options NETDUMP # netdump(4) client support
options NETGDB # netgdb(4) client support
diff --git a/sys/amd64/conf/GENERIC b/sys/amd64/conf/GENERIC
index 0868cdfc95e7..07e31e354d45 100644
--- a/sys/amd64/conf/GENERIC
+++ b/sys/amd64/conf/GENERIC
@@ -99,10 +99,12 @@ options KDB_TRACE # Print a stack trace for a panic.
# For full debugger support use (turn off in stable branch):
include "std.debug"
+# Compression support
+options GZIO # gzip (dumps)
+options ZSTDIO # zstd (dumps, tarfs, uzip, zfs)
+
# Kernel dump features.
options EKCD # Support for encrypted kernel dumps
-options GZIO # gzip-compressed kernel and user dumps
-options ZSTDIO # zstd-compressed kernel and user dumps
options DEBUGNET # debugnet networking
options NETDUMP # netdump(4) client support
options NETGDB # netgdb(4) client support
diff --git a/sys/amd64/conf/MINIMAL b/sys/amd64/conf/MINIMAL
index fec4be6da8f7..d67ae8189a9e 100644
--- a/sys/amd64/conf/MINIMAL
+++ b/sys/amd64/conf/MINIMAL
@@ -76,6 +76,10 @@ options KDB_TRACE # Print a stack trace for a panic.
# For full debugger support use (turn off in stable branch):
include "std.debug"
+# Compression support
+options GZIO # gzip (dumps)
+options ZSTDIO # zstd (dumps, tarfs, uzip, zfs)
+
# Make an SMP-capable kernel by default
options SMP # Symmetric MultiProcessor Kernel
diff --git a/sys/arm64/conf/std.arm64 b/sys/arm64/conf/std.arm64
index 02bdd25f2d52..68ad7ebc856e 100644
--- a/sys/arm64/conf/std.arm64
+++ b/sys/arm64/conf/std.arm64
@@ -84,10 +84,12 @@ include "std.debug"
#options KUBSAN # Kernel Undefined Behavior Sanitizer
#options KCSAN # Kernel Concurrency Sanitizer
+# Compression support
+options GZIO # gzip (dumps)
+options ZSTDIO # zstd (dumps, tarfs, uzip, zfs)
+
# Kernel dump features.
options EKCD # Support for encrypted kernel dumps
-options GZIO # gzip-compressed kernel and user dumps
-options ZSTDIO # zstd-compressed kernel and user dumps
options DEBUGNET # debugnet networking
options NETDUMP # netdump(4) client support
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 0114ed51c4f2..98c63d9bb7f7 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -2837,8 +2837,8 @@ options IMGACT_BINMISC
options GZIO
# zstd support
-# This enables support for Zstd compressed core dumps, GEOM_UZIP images,
-# and is required by zfs if statically linked.
+# This enables support for Zstandard compression for core dumps,
+# kernel dumps, GEOM_UZIP images, and tarfs, and is required by zfs.
options ZSTDIO
# BHND(4) drivers
diff --git a/sys/i386/conf/GENERIC b/sys/i386/conf/GENERIC
index 5d9cdfe25852..3de346013111 100644
--- a/sys/i386/conf/GENERIC
+++ b/sys/i386/conf/GENERIC
@@ -92,10 +92,12 @@ options KDB_TRACE # Print a stack trace for a panic.
# For full debugger support use (turn off in stable branch):
include "std.debug"
+# Compression support
+options GZIO # gzip (dumps)
+options ZSTDIO # zstd (dumps, tarfs, uzip, zfs)
+
# Kernel dump features.
options EKCD # Support for encrypted kernel dumps
-options GZIO # gzip-compressed kernel and user dumps
-options ZSTDIO # zstd-compressed kernel and user dumps
options DEBUGNET # debugnet networking
options NETDUMP # netdump(4) client support
options NETGDB # netgdb(4) client support
diff --git a/sys/i386/conf/MINIMAL b/sys/i386/conf/MINIMAL
index 7bed6d560035..55ef357248c5 100644
--- a/sys/i386/conf/MINIMAL
+++ b/sys/i386/conf/MINIMAL
@@ -86,6 +86,10 @@ options KDB_TRACE # Print a stack trace for a panic.
# For full debugger support use (turn off in stable branch):
include "std.debug"
+# Compression support
+options GZIO # gzip (dumps)
+options ZSTDIO # zstd (dumps, tarfs, uzip, zfs)
+
# Make an SMP-capable kernel by default
options SMP # Symmetric MultiProcessor Kernel
device apic
diff --git a/sys/powerpc/conf/GENERIC b/sys/powerpc/conf/GENERIC
index 7c7d2809d784..f0aacb49f6e1 100644
--- a/sys/powerpc/conf/GENERIC
+++ b/sys/powerpc/conf/GENERIC
@@ -93,10 +93,12 @@ options KDB_TRACE # Print a stack trace for a panic.
# For full debugger support use (turn off in stable branch):
include "std.debug"
+# Compression support
+options GZIO # gzip (dumps)
+options ZSTDIO # zstd (dumps, tarfs, uzip, zfs)
+
# Kernel dump features.
options EKCD # Support for encrypted kernel dumps
-options GZIO # gzip-compressed kernel and user dumps
-options ZSTDIO # zstd-compressed kernel and user dumps
options DEBUGNET # debugnet networking
options NETDUMP # netdump(4) client support
diff --git a/sys/powerpc/conf/GENERIC64 b/sys/powerpc/conf/GENERIC64
index 1c8309fbf3e7..4f61b34a9f18 100644
--- a/sys/powerpc/conf/GENERIC64
+++ b/sys/powerpc/conf/GENERIC64
@@ -103,10 +103,12 @@ options KDB_TRACE # Print a stack trace for a panic.
# For full debugger support use (turn off in stable branch):
include "std.debug"
+# Compression support
+options GZIO # gzip (dumps)
+options ZSTDIO # zstd (dumps, tarfs, uzip, zfs)
+
# Kernel dump features.
options EKCD # Support for encrypted kernel dumps
-options GZIO # gzip-compressed kernel and user dumps
-options ZSTDIO # zstd-compressed kernel and user dumps
options DEBUGNET # debugnet networking
options NETDUMP # netdump(4) client support
diff --git a/sys/powerpc/conf/GENERIC64LE b/sys/powerpc/conf/GENERIC64LE
index d7eb006a08ad..499ee95d1905 100644
--- a/sys/powerpc/conf/GENERIC64LE
+++ b/sys/powerpc/conf/GENERIC64LE
@@ -99,10 +99,12 @@ options KDB_TRACE # Print a stack trace for a panic.
# For full debugger support use (turn off in stable branch):
include "std.debug"
+# Compression support
+options GZIO # gzip (dumps)
+options ZSTDIO # zstd (dumps, tarfs, uzip, zfs)
+
# Kernel dump features.
options EKCD # Support for encrypted kernel dumps
-options GZIO # gzip-compressed kernel and user dumps
-options ZSTDIO # zstd-compressed kernel and user dumps
options DEBUGNET # debugnet networking
options NETDUMP # netdump(4) client support
diff --git a/sys/riscv/conf/GENERIC b/sys/riscv/conf/GENERIC
index 56fcace269e5..0761784c095f 100644
--- a/sys/riscv/conf/GENERIC
+++ b/sys/riscv/conf/GENERIC
@@ -173,10 +173,12 @@ options KDB_TRACE # Print a stack trace for a panic.
include "std.debug"
# options EARLY_PRINTF=sbi
+# Compression support
+options GZIO # gzip (dumps)
+options ZSTDIO # zstd (dumps, tarfs, uzip, zfs)
+
# Kernel dump features.
options EKCD # Support for encrypted kernel dumps
-options GZIO # gzip-compressed kernel and user dumps
-options ZSTDIO # zstd-compressed kernel and user dumps
options DEBUGNET # debugnet networking
options NETDUMP # netdump(4) client support