Date: Sun, 19 Jul 2009 21:40:19 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: cvs-src-old@freebsd.org 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 Message-ID: <200907192141.n6JLfEgO018995@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907192141.n6JLfEgO018995>
