aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Price <steven.price@arm.com>2019-10-24 14:31:11 +0100
committerMarc Zyngier <maz@kernel.org>2019-10-24 14:49:45 +0100
commitc7892db5dd6afe921ead502aff7440a1e450d947 (patch)
tree7805ab4f2d9215e71f0155028819f27bfe73e699
parente0685fa228fdaf386f82ac0d64b2d6f3e0ddd588 (diff)
downloadkvmarm-kvm-arm64/stolen-time.tar.gz
KVM: arm64: Select TASK_DELAY_ACCT+TASKSTATS rather than SCHEDSTATSkvm-arm64/stolen-time
SCHEDSTATS requires DEBUG_KERNEL (and PROC_FS) and therefore isn't a good choice for enabling the scheduling statistics required for stolen time. Instead match the x86 configuration and select TASK_DELAY_ACCT and TASKSTATS. This adds the dependencies of NET && MULTIUSER for arm64 KVM. Suggested-by: Marc Zyngier <maz@kernel.org> Fixes: 8564d6372a7d ("KVM: arm64: Support stolen time reporting via shared structure") Signed-off-by: Steven Price <steven.price@arm.com> Signed-off-by: Marc Zyngier <maz@kernel.org>
-rw-r--r--arch/arm64/kvm/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm64/kvm/Kconfig b/arch/arm64/kvm/Kconfig
index d8b88e40d223d7..a475c68cbfecb7 100644
--- a/arch/arm64/kvm/Kconfig
+++ b/arch/arm64/kvm/Kconfig
@@ -21,6 +21,8 @@ if VIRTUALIZATION
config KVM
bool "Kernel-based Virtual Machine (KVM) support"
depends on OF
+ # for TASKSTATS/TASK_DELAY_ACCT:
+ depends on NET && MULTIUSER
select MMU_NOTIFIER
select PREEMPT_NOTIFIERS
select HAVE_KVM_CPU_RELAX_INTERCEPT
@@ -39,7 +41,8 @@ config KVM
select IRQ_BYPASS_MANAGER
select HAVE_KVM_IRQ_BYPASS
select HAVE_KVM_VCPU_RUN_PID_CHANGE
- select SCHEDSTATS
+ select TASKSTATS
+ select TASK_DELAY_ACCT
---help---
Support hosting virtualized guest machines.
We don't support KVM with 16K page tables yet, due to the multiple