PERFORCE change 134736 for review

Olivier Houchard cognet at FreeBSD.org
Sun Feb 3 10:50:08 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=134736

Change 134736 by cognet at cognet-mips on 2008/02/03 18:49:39

	More on the KSTACK_PAGES - 1 line.

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/mips/machdep.c#23 edit

Differences ...

==== //depot/projects/mips2-jnpr/src/sys/mips/mips/machdep.c#23 (text+ko) ====

@@ -264,7 +264,7 @@
 {
 	proc_linkup(&proc0, &thread0);
 	thread0.td_kstack = kstack0;
-	thread0.td_kstack_pages = KSTACK_PAGES;
+	thread0.td_kstack_pages = KSTACK_PAGES - 1;
 	if (thread0.td_kstack & (1 << PAGE_SHIFT))
 		thread0.td_md.md_realstack = thread0.td_kstack + PAGE_SIZE;
 	else


More information about the p4-projects mailing list