Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Align address on a page boundary.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 20 Apr 2011 07:26:49 +0000 (09:26 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 20 Apr 2011 15:20:13 +0000 (17:20 +0200)
commitc7ff77c2e7f934ad3e6234b09b7f80047544ed7c
treeb6e585da94a7dd5429587c8ef2efbca5707a3f5c
parent3400fc8e74d6ccf632346df99770baf940a1bedc
Align address on a page boundary.

Ensure that the address provided to mmalloc_attach is aligned on a
page boundary.

This should fix the failing mmap on Debian/kfreebsd.  Only tested on
a qemu virtual machine, and thus I do not take the responsability to
revert commit 3aa361f346c4d2592c9cfe7cda39a728479d9d26.
src/xbt/mmalloc/mm_legacy.c