Re: RCU treating guest mode just like it does user-mode execution

From: Paul E. McKenney
Date: Wed Aug 17 2011 - 20:45:08 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/