Page MenuHomeFreeBSD

D32877.diff
No OneTemporary

D32877.diff

Index: sys/xen/xen_intr.c
===================================================================
--- sys/xen/xen_intr.c
+++ sys/xen/xen_intr.c
@@ -327,7 +327,8 @@
xen_intr_release_isrc(struct xenisrc *isrc)
{
- mtx_lock(&xen_intr_isrc_lock);
+ if (mtx_owned(&xen_intr_isrc_lock) == 0)
+ mtx_lock(&xen_intr_isrc_lock);
evtchn_mask_port(isrc->xi_port);
evtchn_clear_port(isrc->xi_port);
@@ -1174,7 +1175,6 @@
mtx_unlock(&xen_intr_isrc_lock);
return;
}
- mtx_unlock(&xen_intr_isrc_lock);
xen_intr_release_isrc(isrc);
}

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 15, 2:59 AM (10 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14637461
Default Alt Text
D32877.diff (537 B)

Event Timeline