From owner-svn-src-all@FreeBSD.ORG Fri May 13 19:40:19 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20E881065672; Fri, 13 May 2011 19:40:19 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 6CE5F8FC16; Fri, 13 May 2011 19:40:18 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p4DJeEBZ068530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 13 May 2011 22:40:14 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p4DJeEwP055951; Fri, 13 May 2011 22:40:14 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p4DJeE8T055950; Fri, 13 May 2011 22:40:14 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 13 May 2011 22:40:14 +0300 From: Kostik Belousov To: Matthew D Fleming Message-ID: <20110513194014.GZ48734@deviant.kiev.zoral.com.ua> References: <201105131935.p4DJZ14Q080511@svn.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mqRNdCMOlOOulWfi" Content-Disposition: inline In-Reply-To: <201105131935.p4DJZ14Q080511@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r221855 - in head/sys: amd64/include arm/include dev/md dev/null i386/include ia64/include mips/include powerpc/include sparc64/include sun4v/include sys vm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 13 May 2011 19:40:19 -0000 --mqRNdCMOlOOulWfi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 13, 2011 at 07:35:01PM +0000, Matthew D Fleming wrote: > Author: mdf > Date: Fri May 13 19:35:01 2011 > New Revision: 221855 > URL: http://svn.freebsd.org/changeset/base/221855 >=20 > Log: > Move the ZERO_REGION_SIZE to a machine-dependent file, as on many > architectures (i386, for example) the virtual memory space may be > constrained enough that 2MB is a large chunk. Use 64K for arches > other than amd64 and ia64, with special handling for sparc64 due to > differing hardware. > =20 > Also commit the comment changes to kmem_init_zero_region() that I > missed due to not saving the file. (Darn the unfamiliar development > environment). > =20 > Arch maintainers, please feel free to adjust ZERO_REGION_SIZE as you > see fit. > =20 > Requested by: alc > MFC after: 1 week > MFC with: r221853 Wasting 2MB even on amd64 is not quite good, IMHO. --mqRNdCMOlOOulWfi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk3NiR4ACgkQC3+MBN1Mb4jONgCdEuOajh7V/PpGpF9H7k8F2qHg xcoAnj240yZKpNOEvZmQehz9EZGqx04v =wNSm -----END PGP SIGNATURE----- --mqRNdCMOlOOulWfi--