From owner-svn-src-all@FreeBSD.ORG Thu Apr 9 05:27:15 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 46FFCAD2; Thu, 9 Apr 2015 05:27:15 +0000 (UTC) Received: from aslan.scsiguy.com (mail.scsiguy.com [70.89.174.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1F8FB674; Thu, 9 Apr 2015 05:27:14 +0000 (UTC) Received: from [192.168.0.61] (jt-mbp.home.scsiguy.org [192.168.0.61]) (authenticated bits=0) by aslan.scsiguy.com (8.14.9/8.14.9) with ESMTP id t395RC3S089180 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Apr 2015 23:27:13 -0600 (MDT) (envelope-from gibbs@scsiguy.com) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: svn commit: r281162 - head/sys/vm From: "Justin T. Gibbs" In-Reply-To: <201504061845.t36Ijggp094300@svn.freebsd.org> Date: Wed, 8 Apr 2015 23:27:13 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <0342E981-09D2-4DA8-B3FC-2EC528762127@scsiguy.com> References: <201504061845.t36Ijggp094300@svn.freebsd.org> To: Dmitry Chagin X-Mailer: Apple Mail (2.2098) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2015 05:27:15 -0000 On Apr 6, 2015, at 12:45 PM, Dmitry Chagin 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=