Subject: posix_memalign vs USE_JEMALLOC
To: None <tech-userlevel@netbsd.org>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: tech-userlevel
Date: 11/23/2007 23:24:38
Hi -
it seems that one can't just switch the malloc() implementation
anymore to compare or track down user program problems: jemalloc
provides posix_memalign(), and userlevel programs are picking
it up, while phkmalloc doesn't support it.
So what to do --
-implement a (probably less effective) posix_memalign() on phkmalloc,
-add an option to jemalloc to desist from using memory above sbrk()
which might be enough to check whether this is a problem for
the user program, and/or
-state that phkmalloc is depreciated and no binary compatibility
can be expected
best regards
Matthias
-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDirig'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------