Commit a3a33106 authored by simonmar's avatar simonmar
Browse files

[project @ 2005-10-12 12:56:30 by simonmar]

Fix assertion failure in memInventory() with SMP
parent 9e10d632
......@@ -989,6 +989,10 @@ memInventory(void)
for (i = 0; i < n_nurseries; i++) {
total_blocks += stepBlocks(&nurseries[i]);
}
#ifdef SMP
// We put pinned object blocks in g0s0, so better count blocks there too.
total_blocks += stepBlocks(g0s0);
#endif
/* any blocks held by allocate() */
for (bd = small_alloc_list; bd; bd = bd->link) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment