Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/uvm Pull up rev. 1.8:
details: https://anonhg.NetBSD.org/src/rev/935b903875e7
branches: netbsd-1-5
changeset: 488911:935b903875e7
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Aug 06 17:08:58 2000 +0000
description:
Pull up rev. 1.8:
Correct a comment about locking wrt. uvmfault_anonget().
diffstat:
sys/uvm/uvm_anon.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r 543db5781fdc -r 935b903875e7 sys/uvm/uvm_anon.c
--- a/sys/uvm/uvm_anon.c Sun Aug 06 17:04:23 2000 +0000
+++ b/sys/uvm/uvm_anon.c Sun Aug 06 17:08:58 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_anon.c,v 1.5 2000/01/11 06:57:49 chs Exp $ */
+/* $NetBSD: uvm_anon.c,v 1.5.4.1 2000/08/06 17:08:58 thorpej Exp $ */
/*
*
@@ -483,10 +483,13 @@
struct uvm_object *uobj;
int rv;
UVMHIST_FUNC("anon_pagein"); UVMHIST_CALLED(pdhist);
-
+
/* locked: anon */
rv = uvmfault_anonget(NULL, NULL, anon);
- /* unlocked: anon */
+ /*
+ * if rv == VM_PAGER_OK, anon is still locked, else anon
+ * is unlocked
+ */
switch (rv) {
case VM_PAGER_OK:
Home |
Main Index |
Thread Index |
Old Index