Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm When loaned page become ownerless as a result of fre...
details: https://anonhg.NetBSD.org/src/rev/5ba87b68f6d1
branches: trunk
changeset: 526968:5ba87b68f6d1
user: enami <enami%NetBSD.org@localhost>
date: Wed May 15 00:19:12 2002 +0000
description:
When loaned page become ownerless as a result of freeing, it should be
dequeue'ed from pageq. Fix provided by chuq.
diffstat:
sys/uvm/uvm_page.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 08e1822913c9 -r 5ba87b68f6d1 sys/uvm/uvm_page.c
--- a/sys/uvm/uvm_page.c Tue May 14 23:58:08 2002 +0000
+++ b/sys/uvm/uvm_page.c Wed May 15 00:19:12 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_page.c,v 1.74 2002/02/20 07:06:56 enami Exp $ */
+/* $NetBSD: uvm_page.c,v 1.75 2002/05/15 00:19:12 enami Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.74 2002/02/20 07:06:56 enami Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.75 2002/05/15 00:19:12 enami Exp $");
#include "opt_uvmhist.h"
@@ -1245,6 +1245,7 @@
pg->owner_tag = NULL;
#endif
if (pg->loan_count) {
+ uvm_pagedequeue(pg);
return;
}
}
Home |
Main Index |
Thread Index |
Old Index