mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-25 02:58:54 +00:00
parasite: No need to compute heap size, it's immutable
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
8b7497a5ef
commit
c19c447729
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ static int brk_init(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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue