PERFORCE change 94521 for review
Kip Macy
kmacy at FreeBSD.org
Mon Apr 3 07:32:59 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=94521
Change 94521 by kmacy at kmacy_storage:sun4v_work on 2006/04/03 07:31:57
make idle hv_cpu_yield SMP only for now
Affected files ...
.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/machdep.c#19 edit
Differences ...
==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/machdep.c#19 (text+ko) ====
@@ -735,8 +735,11 @@
void
cpu_idle(void)
{
- /* Insert code to halt (until next interrupt) for the idle loop */
+ /* shouldn't be needed - but.. */
wrpr(pil, 0, 0);
+#ifdef SMP
+ hv_cpu_yield();
+#endif
}
int
More information about the p4-projects
mailing list