|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Clock Interrupt not occurring. hypervisor_callback not being called. (more info)
Ivan, How about a memory barrier right before the call to evtchn_notifyin evtchn_set_pending and one before l1 = x86_atomic_xchg(&s->evtchn_pending_sel, 0) in do_hypervisor_callback? Regards, Dave Ivan Kelly wrote: Some more info on this problem. The problem seems to be that evtchn_pending[0] is not being updated fast enough after the callback is made. Therefore the callback is running and seeing nothing as pending and discarding anything that happens. If i put in something that delays before the start of the inner loop somewhere, it will work fine. It doesn't have to be a printf, can be a for(i=0;i<100000;i++) or something similar. evtchn_pending is set as volatile. Im not sure if this is actually helping at all though, since I have to use the ACK compiler which is the only thing that minix will compile with. Does anyone have any idea on how i can get evtchn_pending to update on time? Regards Ivan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |