fix a size bug in LrtsAlloc (should minus mempool header),
authorGengbin Zheng <gzheng@illinois.edu>
Fri, 4 Nov 2011 09:04:17 +0000 (02:04 -0700)
committerGengbin Zheng <gzheng@illinois.edu>
Fri, 4 Nov 2011 09:04:17 +0000 (02:04 -0700)
commitce6d8535db8334b3c14a15adbb3838279e776b09
tree66a17fac3bd499f840df5bf8c61d6a417f5ce18c
parent0c1598c3496962bc83e541d621ea9ea67e171123
fix a size bug in LrtsAlloc (should minus mempool header),
also fix a bug in expand mempool with size greater than default. The size should consider mempool_block size.
src/arch/gemini_gni/machine.c
src/arch/util/mempool.c
src/arch/util/mempool.h