Commit c19c4477 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

parasite: No need to compute heap size, it's immutable

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 8b7497a5
...@@ -39,7 +39,7 @@ static int brk_init(void) ...@@ -39,7 +39,7 @@ static int brk_init(void)
static void brk_fini(void) static void brk_fini(void)
{ {
sys_munmap(brk_start, brk_end - brk_start); sys_munmap(brk_start, MAX_HEAP_SIZE);
} }
static void *brk_alloc(unsigned long bytes) static void *brk_alloc(unsigned long bytes)
......
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