diff options
| author | Alan Cox <alc@FreeBSD.org> | 2004-02-22 03:36:51 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2004-02-22 03:36:51 +0000 |
| commit | 85b8d6b45b6dc82439e2c2ebee6f7e06a2670d2d (patch) | |
| tree | 26a8c65b8c2187d2630c7d4fccd0d88f09c5b819 /sys | |
| parent | efbef97de9805dec95db09953426f0b21bb2964f (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/vm/vm_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index 052f5fe10226b..116a075e8e8a9 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -1797,7 +1797,7 @@ again: if (vm_page_sleep_if_busy(p, TRUE, "vmopar")) goto again; if (clean_only && p->valid) { - vm_page_test_dirty(p); + pmap_page_protect(p, VM_PROT_READ | VM_PROT_EXECUTE); if (p->valid & p->dirty) continue; } |
