On Apr 6, 2015, at 12:45 PM, Dmitry Chagin <dcha...@freebsd.org> wrote:
> 
> Author: dchagin
> Date: Mon Apr  6 18:45:41 2015
> New Revision: 281162
> URL: https://svnweb.freebsd.org/changeset/base/281162
> 
> Log:
>  Properly calculate "UMA Zones" per cpu cache size. Avoid allocating
>  an extra struct uma_cache since the struct uma_zone already has one.

Isn’t the better fix here to use a C99 style flexible array member (i.e. 
"struct uma_cache uz_cpu[];” at the end of struct uma_zone)?

—
Justin
_______________________________________________
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