git: b21f19c9e0b7 - main - MINIMAL: remove debugging and some loadable network modules

Warner Losh imp at FreeBSD.org
Sun Jul 11 16:36:35 UTC 2021


The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=b21f19c9e0b7f3c923d845e9e31c0552f0162a62

commit b21f19c9e0b7f3c923d845e9e31c0552f0162a62
Author:     Helge Oldach <freebsd at oldach.net>
AuthorDate: 2021-07-11 16:21:11 +0000
Commit:     Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-07-11 16:35:42 +0000

    MINIMAL: remove debugging and some loadable network modules
    
    Remove deugging stuff, since it's arguably not needed in a minimal
    setup. Also vlan, tuntap and gif since they can be loaded.
    
    imp didn't include the part of the patch that removed xen guest support.
    Xen guest is relatively small and has no way of being loaded.
    
    Reviewed by:    imp
    PR:             229564
    MFC After:      3 days
---
 sys/amd64/conf/MINIMAL | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/sys/amd64/conf/MINIMAL b/sys/amd64/conf/MINIMAL
index b03b17b1bfcd..6678f0a7ee63 100644
--- a/sys/amd64/conf/MINIMAL
+++ b/sys/amd64/conf/MINIMAL
@@ -83,16 +83,6 @@ options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
 # Debugging support.  Always need this:
 options 	KDB			# Enable kernel debugger support.
 options 	KDB_TRACE		# Print a stack trace for a panic.
-# For full debugger support use (turn off in stable branch):
-options 	DDB			# Support DDB.
-options 	GDB			# Support remote GDB.
-options 	DEADLKRES		# Enable the deadlock resolver
-options 	INVARIANTS		# Enable calls of extra sanity checking
-options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
-options 	WITNESS			# Enable checks to detect deadlocks and cycles
-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
 
 # Make an SMP-capable kernel by default
 options 	SMP			# Symmetric MultiProcessor Kernel
@@ -135,9 +125,6 @@ device		loop			# Network loopback
 device		padlock_rng		# VIA Padlock RNG
 device		rdrand_rng		# Intel Bull Mountain RNG
 device		ether			# Ethernet support
-device		vlan			# 802.1Q VLAN support
-device		tuntap			# Packet tunnel.
-device		gif			# IPv6 and IPv4 tunneling
 
 # The `bpf' device enables the Berkeley Packet Filter.
 # Be aware of the administrative consequences of enabling this!


More information about the dev-commits-src-main mailing list