From b486be25ca9cac4f02c2ae25391822956da3fc1f Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 26 Mar 1996 21:04:43 +0000 Subject: (pager_sync): Ask for RETURN_ALL and not just RETURN_DIRTY, because we treat precious pages here as dirty. --- libpager/pager-sync.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libpager/pager-sync.c b/libpager/pager-sync.c index 0d8527b4..4f1ee620 100644 --- a/libpager/pager-sync.c +++ b/libpager/pager-sync.c @@ -1,5 +1,5 @@ /* Functions for sync. - Copyright (C) 1994 Free Software Foundation + Copyright (C) 1994, 1996 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -28,7 +28,7 @@ pager_sync (struct pager *p, int wait) pager_report_extent (p->upi, &offset, &len); - _pager_lock_object (p, offset, len, MEMORY_OBJECT_RETURN_DIRTY, 0, + _pager_lock_object (p, offset, len, MEMORY_OBJECT_RETURN_ALL, 0, VM_PROT_NO_CHANGE, wait); } @@ -39,7 +39,7 @@ void pager_sync_some (struct pager *p, vm_address_t offset, vm_size_t size, int wait) { - _pager_lock_object (p, offset, size, MEMORY_OBJECT_RETURN_DIRTY, 0, + _pager_lock_object (p, offset, size, MEMORY_OBJECT_RETURN_ALL, 0, VM_PROT_NO_CHANGE, wait); } -- cgit v1.2.3