[RFC PATCH]: Align large allocations to cacheline

Carlos O'Donell carlos@redhat.com
Wed Oct 29 17:40:00 GMT 2014


On 10/29/2014 09:43 AM, Wilco Dijkstra wrote:
> +#define MALLOC_LARGE_BLOCK_ALIGN (64)
> +#define MALLOC_LARGE_BLOCK_SIZE (16384)

Typo-prone interface. It will generate -Wundef errors.

See: https://sourceware.org/glibc/wiki/Wundef

It will become an error soon to leave these undefined
for other arches.

Cheers,
Carlos.



More information about the Libc-alpha mailing list