All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL 0/5] rcu annotation fixes for KVM
@ 2017-07-10 10:49 Christian Borntraeger
  2017-07-10 10:49 ` [GIT PULL 1/5] KVM: mark vcpu->pid pointer as rcu protected Christian Borntraeger
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Christian Borntraeger @ 2017-07-10 10:49 UTC (permalink / raw)
  To: Paolo Bonzini, Radim Krčmář; +Cc: KVM, Christian Borntraeger

Paolo, Radim,

with these rcu annotations KVM is now almost sparse clean and the code
should also detect rcu misuses earlier.

FWIW, there is one one remaining sparse warning 

virt/kvm/irqchip.c:171:28: warning: symbol 'kvm_arch_irq_routing_update' was not declared. Should it be static?

which seems to be triggered by sparse thinking that the global  
declaration in include/linux/kvm_host.h
void kvm_arch_irq_routing_update(struct kvm *kvm);
is not compatible with the weak definition in virt/kvm/irqchip.c
void __attribute__((weak)) kvm_arch_irq_routing_update(struct kvm *kvm)

Not sure what to do about that.


The following changes since commit 1372324b328cd5dabaef5e345e37ad48c63df2a9:

  Update my email address (2017-07-04 14:03:02 +0200)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/borntraeger/linux.git  annotations

for you to fetch changes up to 7e988b103d0d52190244517edc76e649071284bb:

  KVM: use correct accessor function for __kvm_memslots (2017-07-10 12:28:46 +0200)

----------------------------------------------------------------
Christian Borntraeger (5):
      KVM: mark vcpu->pid pointer as rcu protected
      KVM: use rcu access function for irq routing
      KVM: mark kvm->busses as rcu protected
      KVM: mark memory slots as rcu
      KVM: use correct accessor function for __kvm_memslots

 include/linux/kvm_host.h | 17 +++++++++++------
 virt/kvm/eventfd.c       |  8 +++++---
 virt/kvm/irqchip.c       |  2 +-
 virt/kvm/kvm_main.c      | 38 +++++++++++++++++++++++++-------------
 4 files changed, 42 insertions(+), 23 deletions(-)

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

end of thread, other threads:[~2017-07-10 10:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-10 10:49 [GIT PULL 0/5] rcu annotation fixes for KVM Christian Borntraeger
2017-07-10 10:49 ` [GIT PULL 1/5] KVM: mark vcpu->pid pointer as rcu protected Christian Borntraeger
2017-07-10 10:49 ` [GIT PULL 2/5] KVM: use rcu access function for irq routing Christian Borntraeger
2017-07-10 10:49 ` [GIT PULL 3/5] KVM: mark kvm->busses as rcu protected Christian Borntraeger
2017-07-10 10:49 ` [GIT PULL 4/5] KVM: mark memory slots as rcu Christian Borntraeger
2017-07-10 10:49 ` [GIT PULL 5/5] KVM: use correct accessor function for __kvm_memslots Christian Borntraeger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.