On Wed, 2007-07-25 at 07:13 +0300, Avi Kivity wrote:

> 
> Preemption disabled yes, but interrupts? 

How do you think I found this? ;)

>From smp_call_function_single in -rt:

WARN_ON(irqs_disabled());



> IIRC I picked the place where
> sched_in is called to have interrupts enabled, but maybe -rt changes
> that.

Perhaps...I haven't investigated what vanilla does.


>   Seems like finding a better position for that hook would solve
> the problem.

I looked and there didn't appear to be a better place.  At the point
interrupts are restored we were well beyond the context_switch code and
it got plain ugly.  Maybe I should look again.

It may be moot, as I believe I am past the problem of getting the
VMCLEAR operation done on the owning pCPU.  Now I am wrestling with that
issue that I mentioned on IRC:  Problems actually using a migrated
context once we get scheduled back in.  Stay tuned.

-Greg



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to