svn commit: r281162 - head/sys/vm
Justin T. Gibbs
gibbs at scsiguy.com
Thu Apr 9 05:27:15 UTC 2015
On Apr 6, 2015, at 12:45 PM, Dmitry Chagin <dchagin at 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
More information about the svn-src-all
mailing list