RE: switching from KVM guest to the host .... TLBs not present?
"Zhang, Xiantao" <[email protected]>
| Newsgroups | org.kernel.vger.kvm-ia64 |
|---|---|
| Message-ID | <706158FABBBA044BAD4FE898A02E4BC2327A2418@pdsmsx503.ccr.corp.intel.com> |
Jes Sorensen wrote: > Zhang, Xiantao wrote: >> Yeah, that is very strange! I will check it tomorrow, and have to >> sleep now :-) Xiantao > > Hi Xiantao, > > I think I got it! > > We were calling local_irqs_disable() before calling down_read(), but > down_read() can sleep and so may return with local interrupts > re-enabled..... > > I have reordered things so now we should be safe. > > How does this patch look to you? Good catch! That should be root-cause. The patch seems good! Thanks! Acked-by: Xiantao Zhang <[email protected]> Avi, Please queue it as the fix of 2.6.30. Thanks! Xiantao