All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Gleb Natapov <gleb@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH] Move irq routing data structure to rcu locking
Date: Sun, 12 Jul 2009 12:50:05 +0300	[thread overview]
Message-ID: <4A59B1CD.4070406@redhat.com> (raw)
In-Reply-To: <20090709131332.GW28046@redhat.com>

On 07/09/2009 04:13 PM, Gleb Natapov wrote:
> Change it from list to array to make RCU handling simpler.
>
> Signed-off-by: Gleb Natapov<gleb@redhat.com>
> diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
> index f54a0d3..12d8d2b 100644
> --- a/include/linux/kvm_host.h
> +++ b/include/linux/kvm_host.h
> @@ -161,7 +161,8 @@ struct kvm {
>
>   	struct mutex irq_lock;
>   #ifdef CONFIG_HAVE_KVM_IRQCHIP
> -	struct list_head irq_routing; /* of kvm_kernel_irq_routing_entry */
> +	struct kvm_kernel_irq_routing_entry *irq_routing;
> +	spinlock_t irq_routing_lock;
>   	struct hlist_head mask_notifier_list;
>   #endif
>    

Why the new lock?

-- 
error compiling committee.c: too many arguments to function


  reply	other threads:[~2009-07-12  9:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-09 13:13 [PATCH] Move irq routing data structure to rcu locking Gleb Natapov
2009-07-12  9:50 ` Avi Kivity [this message]
2009-07-12 10:07   ` Gleb Natapov
2009-07-12 11:10     ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A59B1CD.4070406@redhat.com \
    --to=avi@redhat.com \
    --cc=gleb@redhat.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.