40cf6f3659
- Addresses the issue described in PR/38828. - Some simplification in threading and sleepq subsystems. - Eliminates pmap_collect() and, as a side note, allows pmap optimisations. - Eliminates XS_CTL_DATA_ONSTACK in scsipi code. - Avoids few scans on LWP list and thus potentially long holds of proc_lock. - Cuts ~1.5k lines of code. Reduces amd64 kernel size by ~4k. - Removes __SWAP_BROKEN cases. Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on acorn26 (thanks to <bjh21>). Discussed on <tech-kern>, reviewed by <ad>.
30 lines
844 B
Plaintext
30 lines
844 B
Plaintext
# $NetBSD: std,v 1.13 2009/10/21 21:12:05 rmind Exp $
|
|
#
|
|
# standard MI 'options'
|
|
#
|
|
# this file is for options which can't be off-by-default for some reasons.
|
|
# "it's commonly used" is NOT a good reason to enable options here.
|
|
|
|
# the following options are on-by-default to keep
|
|
# kernel config file compatibility.
|
|
options VMSWAP # Swap device/file support
|
|
options BUFQ_FCFS # First-come First-serve strategy
|
|
options BUFQ_DISKSORT # Traditional min seek sort strategy
|
|
options RFC2292 # Previous version of Adv. Sockets API for IPv6
|
|
options PTRACE # Include ptrace(2)
|
|
options COREDUMP # allow processes to coredump.
|
|
options AIO # POSIX asynchronous I/O
|
|
options MQUEUE # POSIX message queues
|
|
|
|
#
|
|
# Security model.
|
|
#
|
|
options secmodel_bsd44 # Traditional 4.4BSD security model
|
|
|
|
#
|
|
# Scheduling algorithm
|
|
#
|
|
options SCHED_4BSD
|
|
|
|
pseudo-device cpuctl
|