summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1996-11-24 00:19:47 +0000
committerDavid Greenman <dg@FreeBSD.org>1996-11-24 00:19:47 +0000
commit289746cecf092a3cc66a6cb09cc05e8cf39fff57 (patch)
tree97cfc37312db05d71121f3eb5e94f353a9f16188
parent625b109de14c255f417f76f2a2f81032f735eb40 (diff)
Notes
-rw-r--r--sys/vm/vm_object.c6
-rw-r--r--sys/vm/vm_pageout.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 0801149be8ae..d39ad4552124 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_object.c,v 1.48.2.2 1996/01/29 12:36:36 davidg Exp $
+ * $Id: vm_object.c,v 1.48.2.3 1996/03/29 06:30:18 davidg Exp $
*/
/*
@@ -523,7 +523,7 @@ startover:
TAILQ_INSERT_TAIL(&object->memq, p, listq);
splx(s);
if (entireobj)
- vm_page_protect(p, VM_PROT_READ);
+ vm_page_protect(p, VM_PROT_NONE);
if ((p->flags & (PG_BUSY|PG_CACHE)) || p->busy ||
p->valid == 0) {
continue;
@@ -556,7 +556,7 @@ startover:
if (entireobj || (p->offset >= tstart && p->offset < tend)) {
if (entireobj)
- vm_page_protect(p, VM_PROT_READ);
+ vm_page_protect(p, VM_PROT_NONE);
if (p->valid == 0) {
goto donext;
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c
index 38a817324388..6c3069f757d9 100644
--- a/sys/vm/vm_pageout.c
+++ b/sys/vm/vm_pageout.c
@@ -65,7 +65,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_pageout.c,v 1.51.4.11 1996/06/27 10:29:09 davidg Exp $
+ * $Id: vm_pageout.c,v 1.51.4.12 1996/06/29 09:17:17 davidg Exp $
*/
/*
@@ -242,14 +242,14 @@ vm_pageout_clean(m, sync)
*/
for (i = 0; i < pageout_count; i++) {
ms[i]->flags |= PG_BUSY;
- vm_page_protect(ms[i], VM_PROT_READ);
+ vm_page_protect(ms[i], VM_PROT_NONE);
}
object->paging_in_progress += pageout_count;
} else {
m->flags |= PG_BUSY;
- vm_page_protect(m, VM_PROT_READ);
+ vm_page_protect(m, VM_PROT_NONE);
object->paging_in_progress++;