Commit 63621418 authored by Philippe Gerum's avatar Philippe Gerum

Revert "copperplate/heapobj-pshared: fix memory limit"

This reverts commit 5b0c3677 which was
wrong and fortunately did not survive the upcoming memcheck tests.
parent 0e0dee05
......@@ -226,7 +226,7 @@ static int init_heap(struct shared_heap *heap, void *base,
extent->bitmap = __shoff(base, mem) + bmapoff;
extent->bitwords = bmapwords;
extent->membase = __shoff(base, mem) + metasz;
extent->memlim = __shoff(base, mem) + size;
extent->memlim = extent->membase + size;
init_extent(base, extent);
__list_append(base, &extent->link, &heap->extents);
......
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