diff options
author | esaxe <none@none> | 2007-01-17 18:01:29 -0800 |
---|---|---|
committer | esaxe <none@none> | 2007-01-17 18:01:29 -0800 |
commit | fb2f18f820d90b001aea4fb27dd654bc1263c440 (patch) | |
tree | 4b88b69e1244f360a85d70294a4498ecf57ca283 /usr/src/uts/common/sys/cpuvar.h | |
parent | 9a7670889e9c36ec355371e6b02f2d9084f040dc (diff) | |
download | illumos-gate-fb2f18f820d90b001aea4fb27dd654bc1263c440.tar.gz |
6461311 multi-level CMT scheduling optimizations
6509639 cpu0 is not in the right chip_t if its chipid is not zero
--HG--
rename : usr/src/uts/common/os/chip.c => deleted_files/usr/src/uts/common/os/chip.c
rename : usr/src/uts/common/sys/chip.h => deleted_files/usr/src/uts/common/sys/chip.h
Diffstat (limited to 'usr/src/uts/common/sys/cpuvar.h')
-rw-r--r-- | usr/src/uts/common/sys/cpuvar.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr/src/uts/common/sys/cpuvar.h b/usr/src/uts/common/sys/cpuvar.h index f413431b0d..1e467e4b64 100644 --- a/usr/src/uts/common/sys/cpuvar.h +++ b/usr/src/uts/common/sys/cpuvar.h @@ -20,7 +20,7 @@ */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -100,8 +100,6 @@ typedef struct cpu { klwp_id_t cpu_fpowner; /* currently loaded fpu owner */ struct cpupart *cpu_part; /* partition with this CPU */ struct lgrp_ld *cpu_lpl; /* pointer to this cpu's load */ - struct chip *cpu_chip; /* cpu's chip data */ - int cpu_rechoose; /* cpu's rechoose_interval */ int cpu_cache_offset; /* see kmem.c for details */ /* @@ -121,10 +119,11 @@ typedef struct cpu { struct cpu *cpu_prev_part; /* prev CPU in partition */ struct cpu *cpu_next_lgrp; /* next CPU in latency group */ struct cpu *cpu_prev_lgrp; /* prev CPU in latency group */ - struct cpu *cpu_next_chip; /* next CPU on chip */ - struct cpu *cpu_prev_chip; /* prev CPU on chip */ struct cpu *cpu_next_lpl; /* next CPU in lgrp partition */ struct cpu *cpu_prev_lpl; + + struct cpu_pg *cpu_pg; /* cpu's processor groups */ + void *cpu_reserved[4]; /* reserved for future use */ /* |