Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168565369
D8783.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
720 B
Referenced Files
None
Subscribers
None
D8783.diff
View Options
Index: head/sys/x86/x86/mca.c
===================================================================
--- head/sys/x86/x86/mca.c
+++ head/sys/x86/x86/mca.c
@@ -508,7 +508,7 @@
STAILQ_INSERT_TAIL(&mca_records, rec, link);
mca_count++;
mtx_unlock_spin(&mca_lock);
- if (mode == CMCI)
+ if (mode == CMCI && !cold)
taskqueue_enqueue(mca_tq, &mca_refill_task);
}
@@ -714,6 +714,9 @@
mca_tq = taskqueue_create_fast("mca", M_WAITOK,
taskqueue_thread_enqueue, &mca_tq);
taskqueue_start_threads(&mca_tq, 1, PI_SWI(SWI_TQ), "mca taskq");
+
+ /* CMCIs during boot may have claimed items from the freelist. */
+ mca_fill_freelist();
}
SYSINIT(mca_createtq, SI_SUB_CONFIGURE, SI_ORDER_ANY, mca_createtq, NULL);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Aug 30, 1:29 AM (9 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37552509
Default Alt Text
D8783.diff (720 B)
Attached To
Mode
D8783: MCA: Don't refill the record list during boot.
Attached
Detach File
Event Timeline
Log In to Comment