Messages in this thread | | | Date | Wed, 17 Aug 2011 17:44:59 -0700 | From | "Paul E. McKenney" <> | Subject | Re: RCU treating guest mode just like it does user-mode execution |
| |
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
| |