changeset 3703:914e4929dd48

6527632 cpu_online fails to grow cp_cmt_pgs when necessary
author esaxe
date Thu, 22 Feb 2007 21:45:40 -0800
parents 0c044e9df56a
children ee43c2e7f7c5
files usr/src/uts/common/os/cpu.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/os/cpu.c	Thu Feb 22 19:40:48 2007 -0800
+++ b/usr/src/uts/common/os/cpu.c	Thu Feb 22 21:45:40 2007 -0800
@@ -1165,6 +1165,7 @@
 	 */
 	error = mp_cpu_start(cp);	/* arch-dep hook */
 	if (error == 0) {
+		pg_cpupart_in(cp, cp->cpu_part);
 		pause_cpus(NULL);
 		cpu_add_active_internal(cp);
 		if (cp->cpu_flags & CPU_FAULTED) {
@@ -2215,9 +2216,6 @@
 void
 cpu_kstat_init(cpu_t *cp)
 {
-	/*
-	 * XXX need pg kstats for boot CPU
-	 */
 	mutex_enter(&cpu_lock);
 	cpu_info_kstat_create(cp);
 	cpu_stats_kstat_create(cp);