Date: Fri, 13 May 2011 22:40:14 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Matthew D Fleming <mdf@freebsd.org> 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 Message-ID: <20110513194014.GZ48734@deviant.kiev.zoral.com.ua> In-Reply-To: <201105131935.p4DJZ14Q080511@svn.freebsd.org> References: <201105131935.p4DJZ14Q080511@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110513194014.GZ48734>