fix coupled bugs Nikhil found:
authorGengbin Zheng <gzheng@illinois.edu>
Fri, 7 Oct 2011 18:19:38 +0000 (11:19 -0700)
committerGengbin Zheng <gzheng@illinois.edu>
Fri, 7 Oct 2011 18:19:38 +0000 (11:19 -0700)
commit3255a91d02638e6607b2cf2899869d5dc304c874
tree4b485d10d3eb4207bbcc9f6eb3e9b3c5a43ef902
parent2b040da12734970e416faead9d0e441075e15f66
fix coupled bugs Nikhil found:
1. pool expand not updating header pointer
2. in malloc, when take out the claimed memory region, when the rest of the block is not enough to hold a header, it may crash
src/arch/util/mempool.c