On Thu, Apr 9, 2015 at 1:27 PM, Justin T. Gibbs <gi...@scsiguy.com> wrote:
> 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)? > > Agree. It will save one struct uma_cache space for 5 UMA_internal zones. -- luke _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"