From owner-p4-projects@FreeBSD.ORG Fri Oct 13 13:50:58 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id CBB2216A417; Fri, 13 Oct 2006 13:50:57 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E9A216A412 for ; Fri, 13 Oct 2006 13:50:57 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1303B43D62 for ; Fri, 13 Oct 2006 13:50:57 +0000 (GMT) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k9DDouOg025711 for ; Fri, 13 Oct 2006 13:50:56 GMT (envelope-from gonzo@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k9DDouVX025707 for perforce@freebsd.org; Fri, 13 Oct 2006 13:50:56 GMT (envelope-from gonzo@FreeBSD.org) Date: Fri, 13 Oct 2006 13:50:56 GMT Message-Id: <200610131350.k9DDouVX025707@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gonzo@FreeBSD.org using -f From: Oleksandr Tymoshenko To: Perforce Change Reviews Cc: Subject: PERFORCE change 107819 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2006 13:50:58 -0000 http://perforce.freebsd.org/chv.cgi?CH=107819 Change 107819 by gonzo@gonzo_hq on 2006/10/13 13:49:55 o Set KSTACK_GUARD_PAGES to zero o Use 3 pages for KSTACK. We're going to wire stack on thread switch using TLB#0, so we need even-aligned virtual page number. Because there is no possibility to specify kstack alignment we request 3 pages and use lowest even VPN. Affected files ... .. //depot/projects/mips2/src/sys/mips/include/param.h#3 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/include/param.h#3 (text+ko) ==== @@ -117,9 +117,9 @@ #define IOPAGES 2 /* pages of i/o permission bitmap */ #ifndef KSTACK_PAGES -#define KSTACK_PAGES 4 /* pages of kstack (with pcb) */ +#define KSTACK_PAGES 3 /* pages of kstack (with pcb) */ #endif -#define KSTACK_GUARD_PAGES 1 /* pages of kstack guard; 0 disables */ +#define KSTACK_GUARD_PAGES 0 /* pages of kstack guard; 0 disables */ /* * Ceiling on amount of swblock kva space, can be changed via