mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
8b9e9831bf
- Don't malloc() new MCA records for machine checks logged due to a CMCI or MC# exception. Instead, use a pre-allocated pool of records. When a CMCI or MC# exception fires, schedule a swi to refill the pool. The pool is sized to hold at least one record per available machine bank, and one record per CPU. This should handle the case of all CPUs triggering a single bank at once as well as the case a single CPU triggering all of its banks. The periodic scans still use malloc() since they are run from a safe context. - Since we have to create an swi to handle refills, make the periodic scan a second swi for the same thread instead of having a separate taskqueue thread for the scans. Suggested by: mdf (avoiding malloc()) MFC after: 2 weeks |
||
---|---|---|
.. | ||
acpica | ||
bios | ||
cpufreq | ||
include | ||
isa | ||
pci | ||
x86 |