public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Avi Kivity <avi@redhat.com>
Cc: Gleb Natapov <gleb@redhat.com>,
	linux-kernel@vger.kernel.org, mtosatti@redhat.com,
	kvm@vger.kernel.org
Subject: Re: RCU treating guest mode just like it does user-mode execution
Date: Wed, 17 Aug 2011 17:44:59 -0700	[thread overview]
Message-ID: <20110818004459.GQ2419@linux.vnet.ibm.com> (raw)
In-Reply-To: <4E4C5CBE.5040102@redhat.com>

On Wed, Aug 17, 2011 at 05:28:46PM -0700, Avi Kivity wrote:
> On 08/17/2011 05:25 PM, Paul E. McKenney wrote:
> >>  >
> >>  Wouldn't scheduling-clock interrupt kick vcpu out of a guest mode much
> >>  earlier then 30 seconds?
> >
> >The scheduling-clock interrupt would happen, but I do not know whether
> >or not it would kick the vcpu out of guest mode in such a way that
> >would result in RCU thinking that the CPU has passed through a quiescent
> >state.
> >
> 
> The result can only be one of
> 
>   reenter guest (and rcu_virt_note_context_switch)
>   schedule()
>   exit to userspace

Very good, thank you both for bearing with me on this!

							Thanx, Paul

  reply	other threads:[~2011-08-18  0:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-17 20:43 RCU treating guest mode just like it does user-mode execution Paul E. McKenney
2011-08-17 21:50 ` Gleb Natapov
2011-08-17 22:05   ` Paul E. McKenney
2011-08-17 23:55     ` Gleb Natapov
2011-08-18  0:25       ` Paul E. McKenney
2011-08-18  0:28         ` Avi Kivity
2011-08-18  0:44           ` Paul E. McKenney [this message]
2011-08-18  0:53             ` Avi Kivity
2011-08-18  0:44         ` Gleb Natapov

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=20110818004459.GQ2419@linux.vnet.ibm.com \
    --to=paulmck@linux.vnet.ibm.com \
    --cc=avi@redhat.com \
    --cc=gleb@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mtosatti@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