diff options
author | susans <none@none> | 2006-10-26 16:44:53 -0700 |
---|---|---|
committer | susans <none@none> | 2006-10-26 16:44:53 -0700 |
commit | ec25b48f5e0576a68280c5e549673a266f0be346 (patch) | |
tree | 0809083d34488bf4261bc5614b23c9d61a8d1601 /usr/src/uts/common/os/shm.c | |
parent | d7d10855241d89119833d1122507da070aaa6a9a (diff) | |
download | illumos-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/common/os/shm.c')
-rw-r--r-- | usr/src/uts/common/os/shm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/src/uts/common/os/shm.c b/usr/src/uts/common/os/shm.c index 5c03ab7803..5650eb3b2e 100644 --- a/usr/src/uts/common/os/shm.c +++ b/usr/src/uts/common/os/shm.c @@ -341,8 +341,7 @@ shmat(int shmid, caddr_t uaddr, int uflags, uintptr_t *rvp) * [D]ISM segment, then use the previously selected page size. */ if (!isspt(sp)) { - share_size = map_pgsz(MAPPGSZ_ISM, - pp, addr, size, NULL); + share_size = map_pgsz(MAPPGSZ_ISM, pp, addr, size, 0); if (share_size == 0) { as_rangeunlock(as); error = EINVAL; |