From owner-cvs-src@FreeBSD.ORG Sat Aug 2 03:44:16 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25291106569D; Sat, 2 Aug 2008 03:44:16 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 147938FC29; Sat, 2 Aug 2008 03:44:16 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m723iFKZ028611; Sat, 2 Aug 2008 03:44:15 GMT (envelope-from alc@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m723iF7W028610; Sat, 2 Aug 2008 03:44:15 GMT (envelope-from alc@repoman.freebsd.org) Message-Id: <200808020344.m723iF7W028610@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to alc@repoman.freebsd.org using -f From: Alan Cox Date: Sat, 2 Aug 2008 03:43:54 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/amd64/amd64 pmap.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Aug 2008 03:44:16 -0000 alc 2008-08-02 03:43:54 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c Log: SVN rev 181151 on 2008-08-02 03:43:54Z by alc Enhance pmap_mapdev_attr(). Take advantage of recent enhancements to pmap_change_attr() in order to use the direct map for any cache mode, not just write-back mode. It is worth noting that this change also eliminates a situation in which we have two mappings to the same physical memory with different cache modes. Submitted by: Magesh Dhasayyan (with some changes by me) Discussed with: jhb Revision Changes Path 1.642 +7 -4 src/sys/amd64/amd64/pmap.c