mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 12:56:45 +07:00
994025caba
Add support for exporting statistics on mmu updates, multicall batching and pv spinlocks into debugfs. The base path is xen/ and each subsystem adds its own directory: mmu, multicalls, spinlocks. In each directory, writing 1 to "zero_stats" will cause the corresponding stats to be zeroed the next time they're updated. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Acked-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
#
|
|
# This Kconfig describes xen options
|
|
#
|
|
|
|
config XEN
|
|
bool "Xen guest support"
|
|
select PARAVIRT
|
|
select PARAVIRT_CLOCK
|
|
depends on X86_64 || (X86_32 && X86_PAE && !(X86_VISWS || X86_VOYAGER))
|
|
depends on X86_CMPXCHG && X86_TSC
|
|
help
|
|
This is the Linux Xen port. Enabling this will allow the
|
|
kernel to boot in a paravirtualized environment under the
|
|
Xen hypervisor.
|
|
|
|
config XEN_MAX_DOMAIN_MEMORY
|
|
int "Maximum allowed size of a domain in gigabytes"
|
|
default 8 if X86_32
|
|
default 32 if X86_64
|
|
depends on XEN
|
|
help
|
|
The pseudo-physical to machine address array is sized
|
|
according to the maximum possible memory size of a Xen
|
|
domain. This array uses 1 page per gigabyte, so there's no
|
|
need to be too stingy here.
|
|
|
|
config XEN_SAVE_RESTORE
|
|
bool
|
|
depends on PM
|
|
default y
|
|
|
|
config XEN_DEBUG_FS
|
|
bool "Enable Xen debug and tuning parameters in debugfs"
|
|
depends on XEN && DEBUG_FS
|
|
default n
|
|
help
|
|
Enable statistics output and various tuning options in debugfs.
|
|
Enabling this option may incur a significant performance overhead. |