From owner-svn-src-stable@freebsd.org Fri Jun 10 04:04:56 2016 Return-Path: Delivered-To: svn-src-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 54CA5B71943; Fri, 10 Jun 2016 04:04:56 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 261C717DE; Fri, 10 Jun 2016 04:04:56 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u5A44tmw007434; Fri, 10 Jun 2016 04:04:55 GMT (envelope-from kib@FreeBSD.org) Received: (from kib@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5A44tuv007433; Fri, 10 Jun 2016 04:04:55 GMT (envelope-from kib@FreeBSD.org) Message-Id: <201606100404.u5A44tuv007433@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kib set sender to kib@FreeBSD.org using -f From: Konstantin Belousov Date: Fri, 10 Jun 2016 04:04:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r301776 - stable/10/sys/x86/x86 X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2016 04:04:56 -0000 Author: kib Date: Fri Jun 10 04:04:55 2016 New Revision: 301776 URL: https://svnweb.freebsd.org/changeset/base/301776 Log: MFC r301278 Reduce number of iterations used for calibrating ICR read loop. MFC r301279: Record correct commit message for r301278. Modified: stable/10/sys/x86/x86/local_apic.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/x86/x86/local_apic.c ============================================================================== --- stable/10/sys/x86/x86/local_apic.c Fri Jun 10 01:10:48 2016 (r301775) +++ stable/10/sys/x86/x86/local_apic.c Fri Jun 10 04:04:55 2016 (r301776) @@ -284,7 +284,7 @@ lapic_init(vm_paddr_t addr) } #ifdef SMP -#define LOOPS 1000000 +#define LOOPS 100000 /* * Calibrate the busy loop waiting for IPI ack in xAPIC mode. * lapic_ipi_wait_mult contains the number of iterations which @@ -440,7 +440,7 @@ lapic_setup(int boot) /* Program the CMCI LVT entry if present. */ if (maxlvt >= APIC_LVT_CMCI) lapic->lvt_cmci = lvt_mode(la, APIC_LVT_CMCI, lapic->lvt_cmci); - + intr_restore(saveintr); } @@ -1363,7 +1363,7 @@ static void apic_setup_local(void *dummy __unused) { int retval; - + if (best_enum == NULL) return;