]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Revise vm_pageout_scan()'s handling of partially dirty pages. Specifically,
authorAlan Cox <alc@FreeBSD.org>
Thu, 28 May 2009 06:52:14 +0000 (06:52 +0000)
committerAlan Cox <alc@FreeBSD.org>
Thu, 28 May 2009 06:52:14 +0000 (06:52 +0000)
commitb78ddb0b8a23f88a52662fe0a0a14397c29e11b3
tree4395e505315d3bd751672163fadd51d09874d25b
parent1ac3735c5fd32c1768b0971938eb2ee168592e38
Revise vm_pageout_scan()'s handling of partially dirty pages.  Specifically,
rather than unconditionally making partially dirty pages fully dirty, only
make partially dirty pages fully dirty if the pmap says that the page has
been modified.

(This change is also a small optimization.  It eliminate an unnecessary call
to pmap_is_modified() on pages that are mapped read only.)

Suggested by: tegge
sys/vm/vm_pageout.c