From owner-cvs-src-old@FreeBSD.ORG Thu Mar 19 16:37: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 CD81210657A4 for ; Thu, 19 Mar 2009 16:37: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 B64F48FC13 for ; Thu, 19 Mar 2009 16:37: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 n2JGbZwT082433 for ; Thu, 19 Mar 2009 16:37:35 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n2JGbZ2c082432 for cvs-src-old@freebsd.org; Thu, 19 Mar 2009 16:37:35 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <200903191637.n2JGbZ2c082432@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Thu, 19 Mar 2009 16:37:30 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 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, 19 Mar 2009 16:37:40 -0000 marius 2009-03-19 16:37:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sparc64/include tlb.h sys/sparc64/sparc64 machdep.c pmap.c Log: SVN rev 190080 on 2009-03-19 16:37:30Z by marius MFC: r186682 - 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.26.22.3 +2 -0 src/sys/sparc64/include/tlb.h 1.138.2.10 +15 -0 src/sys/sparc64/sparc64/machdep.c 1.166.2.9 +11 -1 src/sys/sparc64/sparc64/pmap.c