[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [patch] make hypercall_preempt_check() a little more sensitive




On 30 Mar 2006, at 18:17, Hollis Blanchard wrote:

It would be an invasive patch to PowerPC Linux to modify the code that
disables the EE bit and additionally have it modify
vcpu_info->evtchn_upcall_mask, especially when that code is in assembly. Instead, we can have hypercall_preempt_check() also check MSR:EE directly.
IA64 may be able to use this facility as well, so I've CC'ed that list.

This patch fixes a problem where an event occurs, Linux calls back into Xen for e.g. console output, Xen sees that an event is pending and creates a
continuation and returns... loop forever.

I'd rather move event_pending() into asm/event.h and then you can monkey with it as you like. That'll also catch other uses of event_pending() where you probably also want the same extra check. I don't really want a proliferation of extra little functions called arch_xxx.

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.