Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm unlock the map for unknown arguments to uvm_map_advi...



details:   https://anonhg.NetBSD.org/src/rev/bddadef044d0
branches:  trunk
changeset: 473385:bddadef044d0
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon May 31 23:36:23 1999 +0000

description:
unlock the map for unknown arguments to uvm_map_advise. from Soren S. Jorvang in PR kern/7681

diffstat:

 sys/uvm/uvm_map.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r d55c5635e7cb -r bddadef044d0 sys/uvm/uvm_map.c
--- a/sys/uvm/uvm_map.c Mon May 31 20:49:00 1999 +0000
+++ b/sys/uvm/uvm_map.c Mon May 31 23:36:23 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_map.c,v 1.49 1999/05/28 22:54:12 thorpej Exp $     */
+/*     $NetBSD: uvm_map.c,v 1.50 1999/05/31 23:36:23 mrg Exp $ */
 
 /* 
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -1975,6 +1975,7 @@
 #endif
 
                default:
+                       vm_map_unlock(map);
                        UVMHIST_LOG(maphist,"<- done (INVALID ARG)",0,0,0,0);
                        return (KERN_INVALID_ARGUMENT);
                }



Home | Main Index | Thread Index | Old Index