WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Add SCHEDOP_block_on


On 11 Mar 2006, at 14:17, John Levon wrote:

This would work (I think), but it's rather unpleasant to say the least.

I'd rather have an unpleasant hack in the bowels of your debugger than
an unpleasant additional interface in Xen that noone else will use. :-)

Then we have no choice but to misuse the interfaces you're prepared to
provide. Oh well.

I had some more of a think about this and actually there is a case for using a polling interface of this type in the pcifront driver. That sends a PCI-config-space request to the backend driver while it has interrupts disabled and currently has to spin on a software flag. At least the spin is usually short, but it's not a nice thing to have to do.

I'll have another look at your patch next week and reconsider.

 -- Keir


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