From bb5ca623d9cfae0efb343eed949af6d1a9163207 Mon Sep 17 00:00:00 2001 From: Vamsi Nagineni Date: Fri, 20 Mar 2009 04:32:37 -0700 Subject: 6810086 panic in rctl_incr_swap() due to freed up proc structure 6557272 assertion failed: zone->zone_max_swap >= swap, panic during dism stress test --- usr/src/uts/common/vm/as.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'usr/src/uts/common/vm/as.h') diff --git a/usr/src/uts/common/vm/as.h b/usr/src/uts/common/vm/as.h index 381bdbaedc..8ee8cb5276 100644 --- a/usr/src/uts/common/vm/as.h +++ b/usr/src/uts/common/vm/as.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. */ @@ -39,8 +39,6 @@ #ifndef _VM_AS_H #define _VM_AS_H -#pragma ident "%Z%%M% %I% %E% SMI" - #include #include #include @@ -253,7 +251,7 @@ void as_rangelock(struct as *as); void as_rangeunlock(struct as *as); struct as *as_alloc(); void as_free(struct as *as); -int as_dup(struct as *as, struct as **outas); +int as_dup(struct as *as, struct proc *forkedproc); struct seg *as_findseg(struct as *as, caddr_t addr, int tail); int as_addseg(struct as *as, struct seg *newseg); struct seg *as_removeseg(struct as *as, struct seg *seg); -- cgit v1.2.3