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.23:



details:   https://anonhg.NetBSD.org/src/rev/b2460500cbde
branches:  netbsd-1-5
changeset: 488250:b2460500cbde
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Jun 24 23:47:49 2000 +0000

description:
Pull up rev. 1.23:
Insert two missing `simple_unlock()'s' in udv_detach().

diffstat:

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

diffs (20 lines):

diff -r 1c24d68e8b8c -r b2460500cbde sys/uvm/uvm_device.c
--- a/sys/uvm/uvm_device.c      Sat Jun 24 18:05:09 2000 +0000
+++ b/sys/uvm/uvm_device.c      Sat Jun 24 23:47:49 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_device.c,v 1.22 2000/05/28 10:21:55 drochner Exp $ */
+/*     $NetBSD: uvm_device.c,v 1.22.2.1 2000/06/24 23:47:49 thorpej Exp $      */
 
 /*
  *
@@ -362,8 +362,10 @@
                 */
 
                LIST_REMOVE(udv, u_list);
+               simple_unlock(&udv_lock);
                if (udv->u_flags & UVM_DEVICE_WANTED)
                        wakeup(udv);
+               simple_unlock(&uobj->vmobjlock);
                FREE(udv, M_TEMP);
                break;  /* DONE! */
 



Home | Main Index | Thread Index | Old Index