From owner-svn-src-head@FreeBSD.ORG Mon Jun 10 17:02:37 2013 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3C349ECA; Mon, 10 Jun 2013 17:02:37 +0000 (UTC) (envelope-from alc@rice.edu) Received: from pp2.rice.edu (proofpoint2.mail.rice.edu [128.42.201.101]) by mx1.freebsd.org (Postfix) with ESMTP id 0D62115D0; Mon, 10 Jun 2013 17:02:36 +0000 (UTC) Received: from pps.filterd (pp2.rice.edu [127.0.0.1]) by pp2.rice.edu (8.14.5/8.14.5) with SMTP id r5AAnxbY015409; Mon, 10 Jun 2013 12:02:23 -0500 Received: from mh3.mail.rice.edu (mh3.mail.rice.edu [128.42.199.10]) by pp2.rice.edu with ESMTP id 1cs11m3a9b-1; Mon, 10 Jun 2013 12:02:23 -0500 X-Virus-Scanned: by amavis-2.7.0 at mh3.mail.rice.edu, auth channel Received: from adsl-216-63-78-18.dsl.hstntx.swbell.net (adsl-216-63-78-18.dsl.hstntx.swbell.net [216.63.78.18]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: alc) by mh3.mail.rice.edu (Postfix) with ESMTPSA id 486F440188; Mon, 10 Jun 2013 12:02:21 -0500 (CDT) Message-ID: <51B6069C.6060704@rice.edu> Date: Mon, 10 Jun 2013 12:02:20 -0500 From: Alan Cox User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130127 Thunderbird/17.0.2 MIME-Version: 1.0 To: Olivier Houchard Subject: Re: svn commit: r251586 - head/sys/arm/ti References: <201306092251.r59MpCmW006162@svn.freebsd.org> <20130610035547.GX3047@kib.kiev.ua> <20130610110847.GA46614@ci0.org> In-Reply-To: <20130610110847.GA46614@ci0.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Konstantin Belousov , svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 17:02:37 -0000 On 06/10/2013 06:08, Olivier Houchard wrote: > On Mon, Jun 10, 2013 at 06:55:47AM +0300, Konstantin Belousov wrote: >> On Sun, Jun 09, 2013 at 10:51:12PM +0000, Olivier Houchard wrote: >>> Author: cognet >>> Date: Sun Jun 9 22:51:11 2013 >>> New Revision: 251586 >>> URL: http://svnweb.freebsd.org/changeset/base/251586 >>> >>> Log: >>> Increase the maximum KVM available on TI chips. Not sure why we suddenly need >>> that much, but that lets me boot with 1GB of RAM. >> I suspect that the cause is the combination of limited KVA and >> lack of any limitation for the buffer map. I noted that ARM lacks >> VM_BCACHE_SIZE_MAX after a report from mav about similar (?) problem a >> day ago. >> >> In essence, the buffer map is allowed to take up to ~330MB when no >> upper limit from VM_BCACHE_SIZE_MAX is specified. > > Hi Konstantin, > > Thanks for the hint ! > It seems only i386 and sparc64 sets it, what would be a good value, 200M, as > it is on i386 ? > Since there are many arm platforms with less than 1 GB of kernel virtual address (KVA) space, VM_BCACHE_SIZE_MAX should be made to scale down from 200 MB with the available KVA space. See how VM_KMEM_SIZE_MAX is currently defined on arm. Alan