From owner-p4-projects Wed May 1 20:43:44 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6004637B41A; Wed, 1 May 2002 20:43:39 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2DF9037B416 for ; Wed, 1 May 2002 20:43:38 -0700 (PDT) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g423hbZ68655 for perforce@freebsd.org; Wed, 1 May 2002 20:43:37 -0700 (PDT) (envelope-from peter@freebsd.org) Date: Wed, 1 May 2002 20:43:37 -0700 (PDT) Message-Id: <200205020343.g423hbZ68655@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm Subject: PERFORCE change 10636 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=10636 Change 10636 by peter@peter_daintree on 2002/05/01 20:43:08 panic rather than fault if contigmalloc fails here... (pmap_new_proc should use normal allocation here) Affected files ... ... //depot/projects/ia64/sys/ia64/ia64/pmap.c#17 edit Differences ... ==== //depot/projects/ia64/sys/ia64/ia64/pmap.c#17 (text+ko) ==== @@ -717,6 +717,9 @@ PAGE_SIZE, 256*1024*1024); + if (up == NULL) + panic("pmap_new_proc: could not contigmalloc %d pages\n", + UAREA_PAGES); p->p_md.md_uservirt = up; p->p_uarea = (struct user *) IA64_PHYS_TO_RR7(ia64_tpa((u_int64_t) up)); @@ -771,6 +774,9 @@ PAGE_SIZE, 256*1024*1024); + if (ks == NULL) + panic("pmap_new_thread: could not contigmalloc %d pages\n", + KSTACK_PAGES); td->td_md.md_kstackvirt = ks; td->td_kstack = IA64_PHYS_TO_RR7(ia64_tpa((u_int64_t)ks)); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message