Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2006 13:50:56 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 107819 for review
Message-ID:  <200610131350.k9DDouVX025707@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610131350.k9DDouVX025707>