svn commit: r301279 - head/sys/x86/x86
Konstantin Belousov
kib at FreeBSD.org
Fri Jun 3 18:23:46 UTC 2016
Author: kib
Date: Fri Jun 3 18:23:45 2016
New Revision: 301279
URL: https://svnweb.freebsd.org/changeset/base/301279
Log:
Trim some spaces to record correct commit message for the r301278.
Reduce number of iterations used for calibrating ICR read loop. The
new number of iteration still gives the same ICR latency as before,
tested on Intel SandyBridge and Haswell machines, and on AMD. But it
significantly reduces the unneeded pause on boot in some VMs, from ~10
secs to less then 1 sec. It was reported to occur in bhyve on AMD
host.
Reported and tested by: avg
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Modified:
head/sys/x86/x86/local_apic.c
Modified: head/sys/x86/x86/local_apic.c
==============================================================================
--- head/sys/x86/x86/local_apic.c Fri Jun 3 18:05:18 2016 (r301278)
+++ head/sys/x86/x86/local_apic.c Fri Jun 3 18:23:45 2016 (r301279)
@@ -706,7 +706,7 @@ native_lapic_setup(int boot)
lapic_write32(LAPIC_LVT_CMCI, lvt_mode(la, APIC_LVT_CMCI,
lapic_read32(LAPIC_LVT_CMCI)));
}
-
+
intr_restore(saveintr);
}
@@ -1725,7 +1725,7 @@ static void
apic_setup_local(void *dummy __unused)
{
int retval;
-
+
if (best_enum == NULL)
return;
More information about the svn-src-all
mailing list