summaryrefslogtreecommitdiff
path: root/usr/src/uts/sun4/os/startup.c
diff options
context:
space:
mode:
authorsusans <none@none>2006-10-26 16:44:53 -0700
committersusans <none@none>2006-10-26 16:44:53 -0700
commitec25b48f5e0576a68280c5e549673a266f0be346 (patch)
tree0809083d34488bf4261bc5614b23c9d61a8d1601 /usr/src/uts/sun4/os/startup.c
parentd7d10855241d89119833d1122507da070aaa6a9a (diff)
downloadillumos-gate-ec25b48f5e0576a68280c5e549673a266f0be346.tar.gz
6254029 memcntl() MC_HAT_ADVISE with page size 0 may cause segment page sizes to be demoted
6325885 map_pgszstk() uses p->p_brkpageszc rather than p->p_stkpageszc 6371967 assign large pages to anon segment created using mmap /dev/zero 6483208 unify and cleanup OOB (out of the box) large pagesize selection code 6483216 use intermediate pagesizes to map the beginning of bss/heap and stack when it may help performance 6483226 bss size is not properly taken into account by LP OOB policy at exec() time 6483230 grow_internal() doesn't properly align stack bottom for large pages 6483231 memcntl.c: ASSERT(IS_P2ALIGNED(p->p_brkbase + p->p_brksize, pgsz)); 6483233 provide a mechanism to enable the use of 32M text pages on OPL by default 6485171 memcntl() shouldn't silently fail when stack space is unavailable with requested pagesize
Diffstat (limited to 'usr/src/uts/sun4/os/startup.c')
-rw-r--r--usr/src/uts/sun4/os/startup.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/src/uts/sun4/os/startup.c b/usr/src/uts/sun4/os/startup.c
index e90382f441..40f02671b0 100644
--- a/usr/src/uts/sun4/os/startup.c
+++ b/usr/src/uts/sun4/os/startup.c
@@ -1878,7 +1878,7 @@ startup_vm(void)
pgcnt_t max_phys_segkp;
int mnode;
- extern int exec_lpg_disable, use_brk_lpg, use_stk_lpg, use_zmap_lpg;
+ extern int use_brk_lpg, use_stk_lpg;
/*
* get prom's mappings, create hments for them and switch
@@ -1974,12 +1974,12 @@ startup_vm(void)
avmem = (uint64_t)freemem << PAGESHIFT;
cmn_err(CE_CONT, "?avail mem = %lld\n", (unsigned long long)avmem);
- /* For small memory systems disable automatic large pages. */
- if (physmem < auto_lpg_min_physmem) {
- exec_lpg_disable = 1;
+ /*
+ * For small memory systems disable automatic large pages.
+ */
+ if (physmem < privm_lpg_min_physmem) {
use_brk_lpg = 0;
use_stk_lpg = 0;
- use_zmap_lpg = 0;
}
/*