From: Marcelo Tosatti <mtosatti@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: kvm@vger.kernel.org, Avi Kivity <avi@redhat.com>
Subject: Re: [PATCH] kvm: get rid of srcu idx
Date: Mon, 25 Oct 2010 11:52:29 -0200 [thread overview]
Message-ID: <20101025135229.GA3392@amt.cnet> (raw)
In-Reply-To: <20101024171610.GA24375@redhat.com>
On Sun, Oct 24, 2010 at 07:16:10PM +0200, Michael S. Tsirkin wrote:
> srcu_idx is easy to misuse as it can not be used
> in nested srcu_read_lock calls. Switch to local
> index to make correctness easier to verify.
>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
>
> ---
Looks good to me.
Not needed for -stable, i don't see a problem with the current
code?
next prev parent reply other threads:[~2010-10-25 12:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-24 17:16 [PATCH] kvm: get rid of srcu idx Michael S. Tsirkin
2010-10-25 13:52 ` Marcelo Tosatti [this message]
2010-10-25 13:20 ` Michael S. Tsirkin
2010-10-25 20:13 ` Marcelo Tosatti
2010-10-26 6:58 ` Gleb Natapov
2010-10-26 7:57 ` Avi Kivity
2010-10-26 8:01 ` Gleb Natapov
2010-10-26 8:06 ` Avi Kivity
2010-10-26 8:53 ` Michael S. Tsirkin
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=20101025135229.GA3392@amt.cnet \
--to=mtosatti@redhat.com \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mst@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox