diff options
author | Jason Beloro <Jason.Beloro@Sun.COM> | 2009-01-19 22:27:58 -0800 |
---|---|---|
committer | Jason Beloro <Jason.Beloro@Sun.COM> | 2009-01-19 22:27:58 -0800 |
commit | a6a911618075176ed839dbe7f7c90604d0954b46 (patch) | |
tree | b9097d01ed14dadde5ce2413c2757f1b7402c7c1 /usr/src/uts/sfmmu | |
parent | 9910327f7da260a7861568db7b3fecc4efe0715d (diff) | |
download | illumos-joyent-a6a911618075176ed839dbe7f7c90604d0954b46.tar.gz |
6755072 Frequency of calls to demap all could be reduced
6757028 Improve CRP error packet handling
6791608 SW support for humidity sensors
6793427 Optimize update to mmu primary context id 1
Diffstat (limited to 'usr/src/uts/sfmmu')
-rw-r--r-- | usr/src/uts/sfmmu/ml/sfmmu_asm.s | 8 | ||||
-rw-r--r-- | usr/src/uts/sfmmu/vm/hat_sfmmu.c | 4 | ||||
-rw-r--r-- | usr/src/uts/sfmmu/vm/hat_sfmmu.h | 3 |
3 files changed, 11 insertions, 4 deletions
diff --git a/usr/src/uts/sfmmu/ml/sfmmu_asm.s b/usr/src/uts/sfmmu/ml/sfmmu_asm.s index dbd9d98983..6e5e8848b3 100644 --- a/usr/src/uts/sfmmu/ml/sfmmu_asm.s +++ b/usr/src/uts/sfmmu/ml/sfmmu_asm.s @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -1397,6 +1397,12 @@ sfmmu_kpm_unload_tsb(caddr_t addr, int vpshift) flush %o0 add %o0, I_SIZE, %o0 st %o1, [%o0] ! nop 4th instruction + flush %o0 + add %o0, I_SIZE, %o0 + st %o1, [%o0] ! nop 5th instruction + flush %o0 + add %o0, I_SIZE, %o0 + st %o1, [%o0] ! nop 6th instruction retl flush %o0 #endif /* sun4u */ diff --git a/usr/src/uts/sfmmu/vm/hat_sfmmu.c b/usr/src/uts/sfmmu/vm/hat_sfmmu.c index 206d22d960..6c9d340704 100644 --- a/usr/src/uts/sfmmu/vm/hat_sfmmu.c +++ b/usr/src/uts/sfmmu/vm/hat_sfmmu.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -579,7 +579,7 @@ mmu_ctx_t **mmu_ctxs_tbl; /* global array of context domains */ uint64_t mmu_saved_gnum = 0; /* to init incoming MMUs' gnums */ #define DEFAULT_NUM_CTXS_PER_MMU 8192 -static uint_t nctxs = DEFAULT_NUM_CTXS_PER_MMU; +uint_t nctxs = DEFAULT_NUM_CTXS_PER_MMU; int cache; /* describes system cache */ diff --git a/usr/src/uts/sfmmu/vm/hat_sfmmu.h b/usr/src/uts/sfmmu/vm/hat_sfmmu.h index e6ccb33185..0a3ddfc2ec 100644 --- a/usr/src/uts/sfmmu/vm/hat_sfmmu.h +++ b/usr/src/uts/sfmmu/vm/hat_sfmmu.h @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -609,6 +609,7 @@ typedef struct mmu_ctx { extern uint_t max_mmu_ctxdoms; extern mmu_ctx_t **mmu_ctxs_tbl; +extern uint_t nctxs; extern void sfmmu_cpu_init(cpu_t *); extern void sfmmu_cpu_cleanup(cpu_t *); |