On Jan 15, 2006, at 9:13 PM, Jason Evans wrote:
jasone 2006-01-16 05:13:49 UTC
FreeBSD src repository
Modified files:
lib/libc/stdlib malloc.c
Log:
[...]
Allow chunks to be as small as the page size.
This change allows us to reduce the chunk size to the point that
allocations larger than half a page are always page-aligned. This
isn't very useful for production, but it should help in debugging
programs that assume large allocations are page-aligned. If a
program runs okay with MALLOC_OPTIONS=kkkkkkkkkkkk, but not with the
default chunk size, then it's a good indication that the application
is making bad alignment assumptions for large-ish objects.
This might be useful for narrowing down some of the X problems that
have been reported for xorg on amd64.
Jason
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"