From a4e8512afa8fa5b09ee9f34ba256254eb012d628 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Sat, 2 Mar 2013 18:04:51 -0600 Subject: [PATCH] sim: remove duplicate check on stack size --- src/sim/process.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/sim/process.cc b/src/sim/process.cc index 9921ef0b7..22a886303 100644 --- a/src/sim/process.cc +++ b/src/sim/process.cc @@ -349,8 +349,6 @@ Process::fixupStackFault(Addr vaddr) stack_min -= TheISA::PageBytes; if (stack_base - stack_min > max_stack_size) fatal("Maximum stack size exceeded\n"); - if (stack_base - stack_min > 8 * 1024 * 1024) - fatal("Over max stack size for one thread\n"); allocateMem(stack_min, TheISA::PageBytes); inform("Increasing stack size by one page."); }; -- 2.30.2