From owner-cvs-src-old@FreeBSD.ORG Sun Jul 19 21:41:15 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 F4211106566B for ; Sun, 19 Jul 2009 21:41:14 +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 E0CCA8FC14 for ; Sun, 19 Jul 2009 21:41:14 +0000 (UTC) (envelope-from alc@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 n6JLfEEN018996 for ; Sun, 19 Jul 2009 21:41:14 GMT (envelope-from alc@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n6JLfEgO018995 for cvs-src-old@freebsd.org; Sun, 19 Jul 2009 21:41:14 GMT (envelope-from alc@repoman.freebsd.org) Message-Id: <200907192141.n6JLfEgO018995@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to alc@repoman.freebsd.org using -f From: Alan Cox Date: Sun, 19 Jul 2009 21:40:19 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c src/sys/i386/xen pmap.c src/sys/vm device_pager.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: Sun, 19 Jul 2009 21:41:15 -0000 alc 2009-07-19 21:40:19 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/i386/i386 pmap.c sys/i386/xen pmap.c sys/vm device_pager.c Log: SVN rev 195774 on 2009-07-19 21:40:19Z by alc Change the handling of fictitious pages by pmap_page_set_memattr() on amd64 and i386. Essentially, fictitious pages provide a mechanism for creating aliases for either normal or device-backed pages. Therefore, pmap_page_set_memattr() on a fictitious page needn't update the direct map or flush the cache. Such actions are the responsibility of the "primary" instance of the page or the device driver that "owns" the physical address. For example, these actions are already performed by pmap_mapdev(). The device pager needn't restore the memory attributes on a fictitious page before releasing it. It's now pointless. Add pmap_page_set_memattr() to the Xen pmap. Approved by: re (kib) Revision Changes Path 1.665 +5 -2 src/sys/amd64/amd64/pmap.c 1.642 +6 -5 src/sys/i386/i386/pmap.c 1.15 +19 -0 src/sys/i386/xen/pmap.c 1.91 +4 -12 src/sys/vm/device_pager.c