Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147395175
D30725.1783204166.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
664 B
Referenced Files
None
Subscribers
None
D30725.1783204166.diff
View Options
Index: sys/xen/xen_intr.c
===================================================================
--- sys/xen/xen_intr.c
+++ sys/xen/xen_intr.c
@@ -769,6 +769,9 @@
for (i = 0; i < nitems(s->evtchn_mask); i++)
atomic_store_rel_long(&s->evtchn_mask[i], ~0);
+ /* Protect xen_intr_port_to_isrc[] / ->xi_port */
+ mtx_lock(&xen_intr_isrc_lock);
+
/* Clear existing port mappings */
for (isrc_idx = 0; isrc_idx < NR_EVENT_CHANNELS; ++isrc_idx)
if (xen_intr_port_to_isrc[isrc_idx] != NULL)
@@ -805,6 +808,9 @@
cur = next;
} while (cur != NULL);
}
+
+ /* Done with xen_intr_port_to_isrc[] / ->xi_port */
+ mtx_unlock(&xen_intr_isrc_lock);
}
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 4, 10:29 PM (1 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29013476
Default Alt Text
D30725.1783204166.diff (664 B)
Attached To
Mode
D30725: xen/intr: protect xen_intr_port_to_isrc[] during resume
Attached
Detach File
Event Timeline
Log In to Comment