Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "[mmalloc] Use mremap to expand heaps (heap collision prevention)"
authorGabriel Corona <gabriel.corona@loria.fr>
Thu, 22 May 2014 12:09:16 +0000 (14:09 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Thu, 22 May 2014 12:09:16 +0000 (14:09 +0200)
commit8452130aa48a4ecfce975c1fcf002c3b20fb6480
treeb1b1d5f0609e29f61919f62065a58a98932d5c46
parenta308bb217e5abbd93413e23cb59776c3f6d1d8db
Revert "[mmalloc] Use mremap to expand heaps (heap collision prevention)"

This is really how is should be handled. However, this does not work
if someone has split the VMA in parts: this is done when creating
stacks on the heap without MC, mprotect() is used to create a guard
page for the stack.

This reverts commit ba3185d8a4f0a56804d3b1ff24e596096f06a37c.
src/xbt/mmalloc/mmorecore.c