http://defect.opensolaris.org/bz/show_bug.cgi?id=6702
Bill Holler <bill.holler at sun.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CAUSEKNOWN |FIXUNDERSTOOD
--- Comment #3 from Bill Holler <bill.holler at sun.com> 2009-02-18 18:54:00
---
mach_smpinit() returns earlier on UP systems before setting
non_deep_idle_disp_enq_thread. A fix is to set this variable
in mach_init() around where non_deep_idle_cpu is also initialized.
Proposed fix:
-bash-3.2$ hg pdiffs
Not trusting file /ws/autobahn-gate/pad-pb/.hg/hgrc from untrusted user esaxe,
group staff
diff -r d197b441425c usr/src/uts/i86pc/os/mp_machdep.c
--- a/usr/src/uts/i86pc/os/mp_machdep.c Tue Feb 17 11:46:05 2009 -0800
+++ b/usr/src/uts/i86pc/os/mp_machdep.c Wed Feb 18 18:50:56 2009 -0800
@@ -921,6 +921,9 @@
* or idle_cpu_prefer_mwait is not set.
* Allocate monitor/mwait buffer for cpu0.
*/
+#ifndef __xpv
+ non_deep_idle_disp_enq_thread = disp_enq_thread;
+#endif
if (idle_cpu_use_hlt) {
idle_cpu = cpu_idle_adaptive;
CPU->cpu_m.mcpu_idle_cpu = cpu_idle;
--
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.