From owner-cvs-all@FreeBSD.ORG Wed Sep 27 04:53:43 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 641C716A47E; Wed, 27 Sep 2006 04:53:43 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFF9843D77; Wed, 27 Sep 2006 04:53:40 +0000 (GMT) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k8R4reNu036029; Wed, 27 Sep 2006 04:53:40 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k8R4reWr036028; Wed, 27 Sep 2006 04:53:40 GMT (envelope-from alc) Message-Id: <200609270453.k8R4reWr036028@repoman.freebsd.org> From: Alan Cox Date: Wed, 27 Sep 2006 04:53:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/sparc64/sparc64 tsb.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2006 04:53:43 -0000 alc 2006-09-27 04:53:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/sparc64/sparc64 tsb.c Log: MFC revision 1.38 The sparc64/sparc64/pmap.c implementations of pmap_remove(), pmap_protect(), and pmap_copy() have optimizations for regions larger than PMAP_TSB_THRESH (which works out to 16MB). This caused a panic in tsb_foreach for kernel mappings, since pm->pm_tsb is NULL in that case. This fix teaches tsb_foreach to use the kernel's tsb in that case. Approved by: re (mux) Revision Changes Path 1.37.2.1 +15 -6 src/sys/sparc64/sparc64/tsb.c