PERFORCE change 107819 for review
    Oleksandr Tymoshenko 
    gonzo at FreeBSD.org
       
    Fri Oct 13 06:50:58 PDT 2006
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=107819
Change 107819 by gonzo at 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
    
    
More information about the p4-projects
mailing list