[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] SCHEDOP_block_masked
On 10 Mar 2006, at 11:43, John Levon wrote: It uses event_pending() which will be zero: 76 #define event_pending(v) \ 77 (!!(v)->vcpu_info->evtchn_upcall_pending & \ 78 !(v)->vcpu_info->evtchn_upcall_mask) But, now you mention it, I wonder if this wouldn't be better taking an event channel to check on before sleeping (though we'd still wake on any). This would avoid the small race (which doesn't really matter in the context we've been using this). Can you give more details about the usage scenario? What ultimately allows the VCPU to continue running (presumably by clearing its evtchn_upcall_mask)? -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |