Alec Roelke has uploaded a new patch set (#2). (
https://gem5-review.googlesource.com/2680 )
Change subject: riscv: Fix crashes with large or frequent mmaps
......................................................................
riscv: Fix crashes with large or frequent mmaps
This patch fixes a bug where increasing the mmap region too much causes
it to run into already-allocated memory, which causes gem5 to fail an
assertion. Previously, the stack was incorrectly set up such that the
end of the mmap region and the top of the stack were the same address
and both would grow downward. With this patch, the top of the stack has
been separated from the end of mmap and moved up, and the mmap region
now grows upward instead of downward.
[Rebase to master branch and remove dependencies.]
Change-Id: I7271ff478fff2994f918bc5003a6139b9ba6a520
---
M src/arch/riscv/process.cc
M src/arch/riscv/process.hh
2 files changed, 6 insertions(+), 3 deletions(-)
--
To view, visit https://gem5-review.googlesource.com/2680
To unsubscribe, visit https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I7271ff478fff2994f918bc5003a6139b9ba6a520
Gerrit-Change-Number: 2680
Gerrit-PatchSet: 2
Gerrit-Owner: Alec Roelke <[email protected]>
Gerrit-Reviewer: Alec Roelke <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev