From owner-svn-src-all@FreeBSD.ORG Fri May 13 20:08:01 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 76632106564A; Fri, 13 May 2011 20:08:01 +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 E029B8FC13; Fri, 13 May 2011 20:08:00 +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 p4DK7voY070269 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 13 May 2011 23:07:57 +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 p4DK7u7b056103; Fri, 13 May 2011 23:07:56 +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 p4DK7uEJ056102; Fri, 13 May 2011 23:07:56 +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 23:07:56 +0300 From: Kostik Belousov To: Alan Cox Message-ID: <20110513200756.GA48734@deviant.kiev.zoral.com.ua> References: <201105131935.p4DJZ14Q080511@svn.freebsd.org> <20110513194014.GZ48734@deviant.kiev.zoral.com.ua> <4DCD8A6B.3000204@rice.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aQoHefV7R8EJhyq8" Content-Disposition: inline In-Reply-To: <4DCD8A6B.3000204@rice.edu> 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, Matthew D Fleming , 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 20:08:01 -0000 --aQoHefV7R8EJhyq8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 13, 2011 at 02:45:47PM -0500, Alan Cox wrote: > On 5/13/2011 2:40 PM, Kostik Belousov wrote: > >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 > >> > >>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. > >> > >> Also commit the comment changes to kmem_init_zero_region() that I > >> missed due to not saving the file. (Darn the unfamiliar development > >> environment). > >> > >> Arch maintainers, please feel free to adjust ZERO_REGION_SIZE as you > >> see fit. > >> > >> Requested by: alc > >> MFC after: 1 week > >> MFC with: r221853 > >Wasting 2MB even on amd64 is not quite good, IMHO. >=20 > It's virtual address space, of which we have 512GB on amd64, and not=20 > physical memory. Only one page of physical memory is used. I should have read the patch more careful. Sorry. --aQoHefV7R8EJhyq8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk3Nj5wACgkQC3+MBN1Mb4hnAgCg9H1sf9o7qfsMzmvb58YXlmID LBsAn16fgnDKtouNv1SbV5+/E94im5ci =XKOK -----END PGP SIGNATURE----- --aQoHefV7R8EJhyq8--