Date: Sat, 25 Apr 2009 02:59:06 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/vm swap_pager.c vnode_pager.c Message-ID: <200904250259.n3P2xHUi095221@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2009-04-25 02:59:06 UTC FreeBSD src repository Modified files: sys/vm swap_pager.c vnode_pager.c Log: SVN rev 191478 on 2009-04-25 02:59:06Z by alc Eliminate unnecessary calls to pmap_clear_modify(). Specifically, calling pmap_clear_modify() on a page is pointless if that page is not mapped or it is only mapped for read access. Instead, assert that the page is not mapped or not mapped for write access as appropriate. Eliminate unnecessary clearing of a page's dirty mask. Instead, assert that the page's dirty mask is clear. Revision Changes Path 1.307 +8 -8 src/sys/vm/swap_pager.c 1.251 +6 -2 src/sys/vm/vnode_pager.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904250259.n3P2xHUi095221>