svn commit: r212946 - stable/8/sys/sparc64/sparc64

Alexander Motin mav at FreeBSD.org
Tue Sep 21 04:23:27 UTC 2010


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


More information about the svn-src-all mailing list