posix_memalign() is broken
|Reported by:||dmik||Owned by:||bird|
posix_memalign() does not work as expected. In particular, it is not always able to allocate a block aligned to 256K: it will return -1 in such cases w/o even setting errno to something. The attached example demonstrates this.