On 2025-02-04 06:34, Juergen Gross wrote:
Instead of checking each known domain after having received a
VIRQ_DOM_EXC event, use the new xenmanage_poll_changed_domain()
function for directly getting the domid of a domain having changed
its state.

A test doing "xl shutdown" of 1000 guests has shown to reduce the
consumed cpu time of xenstored by 6% with this change applied.

Signed-off-by: Juergen Gross <[email protected]>

Reviewed-by: Jason Andryuk <[email protected]>

I see at least some dom_invalid uses goes away, so maybe don't bother changing it.

Regards,
Jason

Reply via email to