Module Name:    src
Committed By:   rmind
Date:           Wed Nov 25 13:38:39 UTC 2009

Modified Files:
        src/sys/arch/x86/x86: vm_machdep.c

Log Message:
Disable kstack red-zone for now, while we decide on a nice way to fix it.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x86/x86/vm_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x86/x86/vm_machdep.c
diff -u src/sys/arch/x86/x86/vm_machdep.c:1.6 src/sys/arch/x86/x86/vm_machdep.c:1.7
--- src/sys/arch/x86/x86/vm_machdep.c:1.6	Sat Nov 21 03:11:02 2009
+++ src/sys/arch/x86/x86/vm_machdep.c	Wed Nov 25 13:38:38 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: vm_machdep.c,v 1.6 2009/11/21 03:11:02 rmind Exp $	*/
+/*	$NetBSD: vm_machdep.c,v 1.7 2009/11/25 13:38:38 rmind Exp $	*/
 
 /*-
  * Copyright (c) 1982, 1986 The Regents of the University of California.
@@ -80,7 +80,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.6 2009/11/21 03:11:02 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.7 2009/11/25 13:38:38 rmind Exp $");
 
 #include "opt_mtrr.h"
 
@@ -203,7 +203,7 @@
 	/* Child LWP might get aston() before returning to userspace. */
 	tf->tf_trapno = T_ASTFLT;
 
-#ifdef DIAGNOSTIC
+#if 0 /* DIAGNOSTIC */
 	/* Set a red zone in the kernel stack after the uarea. */
 	pmap_kremove(USER_TO_UAREA(l2->l_addr), PAGE_SIZE);
 	pmap_update(pmap_kernel());

Reply via email to