2009-03-11 15:30:12 +00:00
|
|
|
#
|
|
|
|
# XENHVM -- Xen HVM kernel configuration file for FreeBSD/amd64
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2010-12-10 22:22:01 +00:00
|
|
|
#
|
|
|
|
include GENERIC
|
2010-01-14 15:07:18 +00:00
|
|
|
ident XENHVM
|
2009-03-11 15:30:12 +00:00
|
|
|
|
2010-12-10 22:22:01 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
2009-05-10 00:00:25 +00:00
|
|
|
options NO_ADAPTIVE_MUTEXES
|
|
|
|
options NO_ADAPTIVE_RWLOCKS
|
2010-12-13 12:15:46 +00:00
|
|
|
options NO_ADAPTIVE_SX
|
2009-03-11 15:30:12 +00:00
|
|
|
|
|
|
|
# Xen HVM support
|
2009-05-10 00:00:25 +00:00
|
|
|
options XENHVM
|
2009-03-11 15:30:12 +00:00
|
|
|
device xenpci
|