diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-03-26 21:04:05 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-03-26 21:04:05 +0000 |
commit | bbc6983ca7274a885a4592d458fe5bf9ca0750b7 (patch) | |
tree | 94a0a43ee4183dceb15b1a67a66883cdd2c6b322 /libpager | |
parent | f43ec146519d9362b870b6c1d4c8931e19149bc2 (diff) |
(pager_return_some): Ask for RETURN_ALL and not just RETURN_DIRTY,
because we treat precious pages here as dirty.
Diffstat (limited to 'libpager')
-rw-r--r-- | libpager/pager-return.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpager/pager-return.c b/libpager/pager-return.c index 8953ad9a..b1013059 100644 --- a/libpager/pager-return.c +++ b/libpager/pager-return.c @@ -30,7 +30,7 @@ pager_return (struct pager *p, int wait) pager_report_extent (p->upi, &offset, &len); - _pager_lock_object (p, offset, len, MEMORY_OBJECT_RETURN_DIRTY, 1, + _pager_lock_object (p, offset, len, MEMORY_OBJECT_RETURN_ALL, 1, VM_PROT_NO_CHANGE, wait); } @@ -38,7 +38,7 @@ void pager_return_some (struct pager *p, vm_address_t offset, vm_size_t size, int wait) { - _pager_lock_object (p, offset, size, MEMORY_OBJECT_RETURN_DIRTY, 1, + _pager_lock_object (p, offset, size, MEMORY_OBJECT_RETURN_ALL, 1, VM_PROT_NO_CHANGE, wait); } |