2017-10-05 23:01:50 +00:00
|
|
|
# Standard kernel config items for all ARMv6 systems.
|
2015-05-05 16:09:25 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
2016-07-09 21:14:59 +00:00
|
|
|
options HZ=1000
|
2016-02-22 11:47:28 +00:00
|
|
|
options ARM_L2_PIPT # Only L2 PIPT is supported
|
2018-08-20 20:31:53 +00:00
|
|
|
options INTRNG # All arm systems use INTRNG these days
|
2015-05-05 17:59:02 +00:00
|
|
|
options PREEMPTION # Enable kernel thread preemption
|
2017-10-20 21:40:59 +00:00
|
|
|
options VIMAGE # Subsystem virtualization, e.g. VNET
|
2015-05-05 17:59:02 +00:00
|
|
|
options INET # InterNETworking
|
|
|
|
options INET6 # IPv6 communications protocols
|
In the TCP stack, the hhook(9) framework provides hooks for kernel modules
to add actions that run when a TCP frame is sent or received on a TCP
session in the ESTABLISHED state. In the base tree, this functionality is
only used for the h_ertt module, which is used by the cc_cdg, cc_chd, cc_hd,
and cc_vegas congestion control modules.
Presently, we incur overhead to check for hooks each time a TCP frame is
sent or received on an ESTABLISHED TCP session.
This change adds a new compile-time option (TCP_HHOOK) to determine whether
to include the hhook(9) framework for TCP. To retain backwards
compatibility, I added the TCP_HHOOK option to every configuration file that
already defined "options INET". (Therefore, this patch introduces no
functional change. In order to see a functional difference, you need to
compile a custom kernel without the TCP_HHOOK option.) This change will
allow users to easily exclude this functionality from their kernel, should
they wish to do so.
Note that any users who use a custom kernel configuration and use one of the
congestion control modules listed above will need to add the TCP_HHOOK
option to their kernel configuration.
Reviewed by: rrs, lstewart, hiren (previous version), sjg (makefiles only)
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D8185
2016-10-12 02:16:42 +00:00
|
|
|
options TCP_HHOOK # hhook(9) framework for TCP
|
2018-08-18 20:32:08 +00:00
|
|
|
device crypto # core crypto support
|
2015-07-05 14:16:31 +00:00
|
|
|
options IPSEC # IP (v4/v6) security
|
2015-05-05 17:59:02 +00:00
|
|
|
options SCTP # Stream Control Transmission Protocol
|
|
|
|
options FFS # Berkeley Fast Filesystem
|
|
|
|
options SOFTUPDATES # Enable FFS soft updates support
|
|
|
|
options UFS_ACL # Support for access control lists
|
|
|
|
options UFS_DIRHASH # Improve performance on big directories
|
|
|
|
options UFS_GJOURNAL # Enable gjournal-based UFS journaling
|
|
|
|
options QUOTA # Enable disk quotas for UFS
|
|
|
|
options NFSCL # Network Filesystem Client
|
|
|
|
options NFSLOCKD # Network Lock Manager
|
|
|
|
options NFS_ROOT # NFS usable as /, requires NFSCL
|
|
|
|
options MSDOSFS # MSDOS Filesystem
|
|
|
|
options CD9660 # ISO 9660 Filesystem
|
|
|
|
options PROCFS # Process filesystem (requires PSEUDOFS)
|
|
|
|
options PSEUDOFS # Pseudo-filesystem framework
|
|
|
|
options TMPFS # Efficient memory filesystem
|
|
|
|
options GEOM_PART_GPT # GUID Partition Tables
|
|
|
|
options GEOM_PART_BSD # BSD partition scheme
|
|
|
|
options GEOM_PART_MBR # MBR partition scheme
|
|
|
|
options GEOM_LABEL # Provides labelization
|
|
|
|
options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
|
|
|
|
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
|
|
|
|
options KTRACE # ktrace(1) support
|
|
|
|
options SYSVSHM # SYSV-style shared memory
|
|
|
|
options SYSVMSG # SYSV-style message queues
|
|
|
|
options SYSVSEM # SYSV-style semaphores
|
|
|
|
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
|
2015-07-12 19:58:12 +00:00
|
|
|
options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
|
2015-05-05 17:59:02 +00:00
|
|
|
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
|
2016-05-16 19:07:58 +00:00
|
|
|
options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
|
2018-09-13 21:00:17 +00:00
|
|
|
options CAPABILITY_MODE # Capsicum capability mode
|
|
|
|
options CAPABILITIES # Capsicum capabilites
|
2015-05-05 17:59:02 +00:00
|
|
|
options FREEBSD_BOOT_LOADER # Process metadata passed from loader(8)
|
|
|
|
options VFP # Enable floating point hardware support
|
2018-07-21 18:54:24 +00:00
|
|
|
options MAC # Support for Mandatory Access Control (MAC)
|
2015-05-05 16:09:25 +00:00
|
|
|
|
2016-03-16 15:31:09 +00:00
|
|
|
options COMPAT_FREEBSD10 # Compatible with FreeBSD10
|
2016-12-09 18:54:12 +00:00
|
|
|
options COMPAT_FREEBSD11 # Compatible with FreeBSD11
|
2019-05-02 18:10:23 +00:00
|
|
|
options COMPAT_FREEBSD12 # Compatible with FreeBSD12
|
2016-03-16 15:31:09 +00:00
|
|
|
|
2015-08-23 21:10:20 +00:00
|
|
|
# DTrace support
|
|
|
|
options KDTRACE_HOOKS # Kernel DTrace hooks
|
|
|
|
options DDB_CTF # all architectures - kernel ELF linker loads CTF data
|
|
|
|
makeoptions WITH_CTF=1
|
2016-07-09 20:42:57 +00:00
|
|
|
|
|
|
|
# Debugging support. Always need this:
|
|
|
|
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
|
|
|
|
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 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 ALT_BREAK_TO_DEBUGGER # Enter debugger on keyboard escape sequence
|
|
|
|
options USB_DEBUG # Enable usb debug support code
|
2018-10-31 22:38:19 +00:00
|
|
|
options VERBOSE_SYSINIT=0 # Support debug.verbose_sysinit, off by default
|
2016-07-09 20:42:57 +00:00
|
|
|
|
|
|
|
# Optional extras, never enabled by default:
|
|
|
|
#options BOOTVERBOSE
|
|
|
|
#options DEBUG # May result in extreme spewage
|
2017-05-09 12:32:31 +00:00
|
|
|
#options KTR
|
|
|
|
#options KTR_COMPILE=KTR_ALL
|
|
|
|
#options KTR_ENTRIES=16384
|
|
|
|
#options KTR_MASK=(KTR_SPARE2)
|
2016-07-09 20:42:57 +00:00
|
|
|
#options KTR_VERBOSE=0
|
|
|
|
#options USB_REQ_DEBUG
|
|
|
|
#options USB_VERBOSE
|
|
|
|
|