projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5bcb30
)
sim: remove duplicate check on stack size
author
Nilay Vaish
<nilay@cs.wisc.edu>
Sun, 3 Mar 2013 00:04:51 +0000
(18:04 -0600)
committer
Nilay Vaish
<nilay@cs.wisc.edu>
Sun, 3 Mar 2013 00:04:51 +0000
(18:04 -0600)
src/sim/process.cc
patch
|
blob
|
history
diff --git
a/src/sim/process.cc
b/src/sim/process.cc
index 9921ef0b76e58d76b6b369ff42ad1a0b823aec12..22a88630324b72a9cabad5d0058e2f334446f6b5 100644
(file)
--- 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.");
};