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

Re: [Xen-devel] [PATCH] SCHEDOP_block_masked




On 10 Mar 2006, at 10:58, John Levon wrote:

Introduce SCHEDOP_block_masked, which blocks a VCPU without enabling
interrupts.

We need this as there are circumstances where we cannot take interrupts,
and are polling in a tight loop. In particular in Solaris's kernel
debugger console input. We don't want to burn CPU in a domU, but we're
not in a situation where we can safely use SCHEDOP_block.

Modified do_block() still checks event_pending, even if you do not clear the event_mask. Presumably you don't really want to do that?

 -- 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®.