mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-20 15:26:43 +01:00
347c7fd7bf
No objections from: freebsd-xen mailing list MFC after: 1 week
23 lines
570 B
Plaintext
23 lines
570 B
Plaintext
#
|
|
# XENHVM -- Xen HVM kernel configuration file for FreeBSD/i386
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
include GENERIC
|
|
ident XENHVM
|
|
|
|
#
|
|
# Adaptive locks rely on a lock-free pointer read to determine the run state
|
|
# of the thread holding a lock when under contention; under a virtualisation
|
|
# system, the thread run state may not accurately reflect whether the thread
|
|
# (or rather its host VCPU) is actually executing. As such, disable this
|
|
# optimisation.
|
|
#
|
|
options NO_ADAPTIVE_MUTEXES
|
|
options NO_ADAPTIVE_RWLOCKS
|
|
options NO_ADAPTIVE_SX
|
|
|
|
# Xen HVM support
|
|
options XENHVM
|
|
device xenpci
|