Date: Wed, 8 Apr 2015 23:27:13 -0600 From: "Justin T. Gibbs" <gibbs@scsiguy.com> To: Dmitry Chagin <dchagin@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r281162 - head/sys/vm Message-ID: <0342E981-09D2-4DA8-B3FC-2EC528762127@scsiguy.com> In-Reply-To: <201504061845.t36Ijggp094300@svn.freebsd.org> References: <201504061845.t36Ijggp094300@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 6, 2015, at 12:45 PM, Dmitry Chagin <dchagin@FreeBSD.org> wrote: >=20 > Author: dchagin > Date: Mon Apr 6 18:45:41 2015 > New Revision: 281162 > URL: https://svnweb.freebsd.org/changeset/base/281162 >=20 > 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=E2=80=99t the better fix here to use a C99 style flexible array = member (i.e. "struct uma_cache uz_cpu[];=E2=80=9D at the end of struct = uma_zone)? =E2=80=94 Justin=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0342E981-09D2-4DA8-B3FC-2EC528762127>