Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2010 04:09:36 +0000 (UTC)
From:      Neel Natu <neel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r203415 - head/sys/mips/include
Message-ID:  <201002030409.o1349adS072220@svn.freebsd.org>

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



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