Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode/dev Just in case ease up the stack space a...
details: https://anonhg.NetBSD.org/src/rev/5aa5235bcf1a
branches: trunk
changeset: 772004:5aa5235bcf1a
user: reinoud <reinoud%NetBSD.org@localhost>
date: Tue Dec 13 12:25:42 2011 +0000
description:
Just in case ease up the stack space a bit more
diffstat:
sys/arch/usermode/dev/cpu.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ac82432940fb -r 5aa5235bcf1a sys/arch/usermode/dev/cpu.c
--- a/sys/arch/usermode/dev/cpu.c Tue Dec 13 12:24:15 2011 +0000
+++ b/sys/arch/usermode/dev/cpu.c Tue Dec 13 12:25:42 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.49 2011/12/12 12:20:30 reinoud Exp $ */
+/* $NetBSD: cpu.c,v 1.50 2011/12/13 12:25:42 reinoud Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -30,7 +30,7 @@
#include "opt_hz.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.49 2011/12/12 12:20:30 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.50 2011/12/13 12:25:42 reinoud Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -326,7 +326,7 @@
/* copy the PCB and its switchframes from parent */
memcpy(pcb2, pcb1, sizeof(struct pcb));
- stacksize = PAGE_SIZE;
+ stacksize = 2*PAGE_SIZE;
stack_ucp = malloc(stacksize, M_TEMP, M_NOWAIT);
stack_syscall_ucp = malloc(stacksize, M_TEMP, M_NOWAIT);
stack_pagefault_ucp = malloc(stacksize, M_TEMP, M_NOWAIT);
Home |
Main Index |
Thread Index |
Old Index