Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2010 04:23:27 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r212946 - stable/8/sys/sparc64/sparc64
Message-ID:  <201009210423.o8L4NRv9078685@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Tue Sep 21 04:23:27 2010
New Revision: 212946
URL: http://svn.freebsd.org/changeset/base/212946

Log:
  MFC r212456:
  Sparc64 uses dummy cpu_idle() method. It's CPUs never sleeping. Tell
  scheduler that it doesn't need to use IPI to "wake up" CPU.

Modified:
  stable/8/sys/sparc64/sparc64/machdep.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/sparc64/sparc64/machdep.c
==============================================================================
--- stable/8/sys/sparc64/sparc64/machdep.c	Tue Sep 21 02:24:11 2010	(r212945)
+++ stable/8/sys/sparc64/sparc64/machdep.c	Tue Sep 21 04:23:27 2010	(r212946)
@@ -957,7 +957,7 @@ int
 cpu_idle_wakeup(int cpu)
 {
 
-	return (0);
+	return (1);
 }
 
 int



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009210423.o8L4NRv9078685>