On Sat, Jan 31, 2009, David Schultz wrote:
>   Add a function attribute called `__malloc_like', which informs gcc
>   that the annotated function returns a pointer that doesn't alias any
>   extant pointer.

It wouldn't hurt if a networking guru added this annotation to the
mbuf allocator as well, but it probably wouldn't help much either. 
I deliberately didn't add it to uma(9) because ctors might create
aliases to the memory regions returned by uma_zalloc().
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to