From owner-svn-src-all@FreeBSD.ORG Fri May 13 20:41:33 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 62C231065674; Fri, 13 May 2011 20:41:33 +0000 (UTC) (envelope-from alc@rice.edu) Received: from mh1.mail.rice.edu (mh1.mail.rice.edu [128.42.201.20]) by mx1.freebsd.org (Postfix) with ESMTP id 39CF78FC13; Fri, 13 May 2011 20:41:33 +0000 (UTC) Received: from mh1.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh1.mail.rice.edu (Postfix) with ESMTP id AC2462908C5; Fri, 13 May 2011 15:41:32 -0500 (CDT) X-Virus-Scanned: by amavis-2.6.4 at mh1.mail.rice.edu, auth channel Received: from mh1.mail.rice.edu ([127.0.0.1]) by mh1.mail.rice.edu (mh1.mail.rice.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id QmoOlDTNXVBq; Fri, 13 May 2011 15:41:32 -0500 (CDT) Received: from [172.24.99.82] (unknown [192.75.139.249]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: alc) by mh1.mail.rice.edu (Postfix) with ESMTPSA id 488C02908C3; Fri, 13 May 2011 15:41:32 -0500 (CDT) Message-ID: <4DCD9766.4010601@rice.edu> Date: Fri, 13 May 2011 15:41:10 -0500 From: Alan Cox User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Matthew D Fleming References: <201105131935.p4DJZ14Q080511@svn.freebsd.org> In-Reply-To: <201105131935.p4DJZ14Q080511@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 20:41:33 -0000 On 5/13/2011 2:35 PM, 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 I would encourage people on platforms with virtually indexed data caches to do a simple before and after performance test on this change, like "dd if=/dev/zero of=/dev/null bs=64k", just to make sure that there are no performance regressions. Alan