Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2008 18:50:06 GMT
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 134736 for review
Message-ID:  <200802031850.m13Io62R036312@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=134736

Change 134736 by cognet@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



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