From owner-cvs-src-old@FreeBSD.ORG Thu Jan 1 14:01:35 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28A3310656C7 for ; Thu, 1 Jan 2009 14:01:35 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 158F68FC18 for ; Thu, 1 Jan 2009 14:01:35 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n01E1Yh3034855 for ; Thu, 1 Jan 2009 14:01:34 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n01E1Y6r034854 for cvs-src-old@freebsd.org; Thu, 1 Jan 2009 14:01:34 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <200901011401.n01E1Y6r034854@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Thu, 1 Jan 2009 14:01:21 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sparc64/include tlb.h src/sys/sparc64/sparc64 machdep.c pmap.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2009 14:01:35 -0000 marius 2009-01-01 14:01:21 UTC FreeBSD src repository Modified files: sys/sparc64/include tlb.h sys/sparc64/sparc64 machdep.c pmap.c Log: SVN rev 186682 on 2009-01-01 14:01:21Z by marius - Currently the PMAP code is laid out to let the kernel TSB cover the whole KVA space using one locked 4MB dTLB entry per GB of physical memory. On Cheetah-class machines only the dt16 can hold locked entries though, which would be completely consumed for the kernel TSB on machines with >= 16GB. Therefore limit the KVA space to use no more than half of the lockable dTLB slots, given that we need them also for other things. - Add sanity checks which ensure that we don't exhaust the (lockable) TLB slots. Revision Changes Path 1.29 +2 -0 src/sys/sparc64/include/tlb.h 1.150 +16 -1 src/sys/sparc64/sparc64/machdep.c 1.178 +11 -1 src/sys/sparc64/sparc64/pmap.c