svn commit: r203415 - head/sys/mips/include
Neel Natu
neel at FreeBSD.org
Wed Feb 3 04:09:36 UTC 2010
Author: neel
Date: Wed Feb 3 04:09:36 2010
New Revision: 203415
URL: http://svn.freebsd.org/changeset/base/203415
Log:
Reduce the size of the array used to store the TLB mappings for the kernel
stack from 3 to 2.
We only map in 2 pages for the kernel stack.
Approved by: imp (mentor)
Modified:
head/sys/mips/include/proc.h
Modified: head/sys/mips/include/proc.h
==============================================================================
--- head/sys/mips/include/proc.h Wed Feb 3 03:56:32 2010 (r203414)
+++ head/sys/mips/include/proc.h Wed Feb 3 04:09:36 2010 (r203415)
@@ -44,7 +44,7 @@
*/
struct mdthread {
int md_flags; /* machine-dependent flags */
- int md_upte[KSTACK_PAGES]; /* ptes for mapping u pcb */
+ int md_upte[KSTACK_PAGES - 1]; /* ptes for mapping u pcb */
int md_ss_addr; /* single step address for ptrace */
int md_ss_instr; /* single step instruction for ptrace */
register_t md_saved_intr;
More information about the svn-src-all
mailing list