kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [[PATCH 1/2] kvm: make preempt_notifier free out CONFIG_PREEMPT_NOTIFIERS
@ 2015-07-03  8:56 Tiejun Chen
  2015-07-03  8:56 ` [[PATCH 2/2] kvm: enable preemption to register/unregister preempt notifier Tiejun Chen
  0 siblings, 1 reply; 4+ messages in thread
From: Tiejun Chen @ 2015-07-03  8:56 UTC (permalink / raw)
  To: kvm; +Cc: linux-kernel, Gleb Natapov, Paolo Bonzini

In any cases CONFIG_KVM always means CONFIG_PREEMPT_NOTIFIERS
is enabled unconditionally so its really pointless.

CC: Gleb Natapov <gleb@kernel.org>
CC: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Tiejun Chen <tiejun.chen@intel.com>
---
 include/linux/kvm_host.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 9564fd7..695f4f3 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -220,9 +220,7 @@ struct kvm_mmio_fragment {
 
 struct kvm_vcpu {
 	struct kvm *kvm;
-#ifdef CONFIG_PREEMPT_NOTIFIERS
 	struct preempt_notifier preempt_notifier;
-#endif
 	int cpu;
 	int vcpu_id;
 	int srcu_idx;
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-06  0:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-03  8:56 [[PATCH 1/2] kvm: make preempt_notifier free out CONFIG_PREEMPT_NOTIFIERS Tiejun Chen
2015-07-03  8:56 ` [[PATCH 2/2] kvm: enable preemption to register/unregister preempt notifier Tiejun Chen
2015-07-03 11:23   ` Paolo Bonzini
2015-07-06  0:46     ` Chen, Tiejun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).