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.25 (approved by jhawk):



details:   https://anonhg.NetBSD.org/src/rev/1f447de1d029
branches:  netbsd-1-5
changeset: 488853:1f447de1d029
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Aug 02 19:42:23 2000 +0000

description:
Pull up rev. 1.25 (approved by jhawk):
Fix a fairly obvious locking error in amap_cow_now() -- the amap was
left locked upon exit from the function (how did this one slip for
so long?)

diffstat:

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

diffs (18 lines):

diff -r fef93c363a8e -r 1f447de1d029 sys/uvm/uvm_amap.c
--- a/sys/uvm/uvm_amap.c        Wed Aug 02 17:25:37 2000 +0000
+++ b/sys/uvm/uvm_amap.c        Wed Aug 02 19:42:23 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_amap.c,v 1.22 1999/09/12 01:17:33 chs Exp $        */
+/*     $NetBSD: uvm_amap.c,v 1.22.12.1 2000/08/02 19:42:23 thorpej Exp $       */
 
 /*
  *
@@ -844,7 +844,7 @@
 
        }       /* end of 'for' loop */
 
-       return;
+       amap_unlock(amap);
 }
 
 /*



Home | Main Index | Thread Index | Old Index