Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm 0 -> FALSE in a few places.



details:   https://anonhg.NetBSD.org/src/rev/fd334140c4ef
branches:  trunk
changeset: 474850:fd334140c4ef
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Jul 22 21:27:32 1999 +0000

description:
0 -> FALSE in a few places.

diffstat:

 sys/uvm/uvm_aobj.c  |  6 +++---
 sys/uvm/uvm_km.c    |  4 ++--
 sys/uvm/uvm_vnode.c |  4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

diffs (56 lines):

diff -r 75c306eb0acf -r fd334140c4ef sys/uvm/uvm_aobj.c
--- a/sys/uvm/uvm_aobj.c        Thu Jul 22 21:11:26 1999 +0000
+++ b/sys/uvm/uvm_aobj.c        Thu Jul 22 21:27:32 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_aobj.c,v 1.22 1999/07/17 06:06:36 thorpej Exp $    */
+/*     $NetBSD: uvm_aobj.c,v 1.23 1999/07/22 21:27:32 thorpej Exp $    */
 
 /*
  * Copyright (c) 1998 Chuck Silvers, Charles D. Cranor and
@@ -1102,8 +1102,8 @@
                                UVMHIST_LOG(pdhist,
                                    "sleeping, ptmp->flags 0x%x\n",
                                    ptmp->flags,0,0,0);
-                               UVM_UNLOCK_AND_WAIT(ptmp, &uobj->vmobjlock, 0,
-                                   "uao_get", 0);
+                               UVM_UNLOCK_AND_WAIT(ptmp, &uobj->vmobjlock,
+                                   FALSE, "uao_get", 0);
                                simple_lock(&uobj->vmobjlock);
                                continue;       /* goto top of pps while loop */
                        }
diff -r 75c306eb0acf -r fd334140c4ef sys/uvm/uvm_km.c
--- a/sys/uvm/uvm_km.c  Thu Jul 22 21:11:26 1999 +0000
+++ b/sys/uvm/uvm_km.c  Thu Jul 22 21:27:32 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_km.c,v 1.29 1999/07/18 22:55:30 chs Exp $  */
+/*     $NetBSD: uvm_km.c,v 1.30 1999/07/22 21:27:32 thorpej Exp $      */
 
 /* 
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -724,7 +724,7 @@
                                panic("uvm_km_alloc1: non-released page");
                        pg->flags |= PG_WANTED;
                        UVM_UNLOCK_AND_WAIT(pg, &uvm.kernel_object->vmobjlock,
-                           0, "km_alloc", 0);
+                           FALSE, "km_alloc", 0);
                        continue;   /* retry */
                }
                
diff -r 75c306eb0acf -r fd334140c4ef sys/uvm/uvm_vnode.c
--- a/sys/uvm/uvm_vnode.c       Thu Jul 22 21:11:26 1999 +0000
+++ b/sys/uvm/uvm_vnode.c       Thu Jul 22 21:27:32 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_vnode.c,v 1.23 1999/04/11 04:04:11 chs Exp $       */
+/*     $NetBSD: uvm_vnode.c,v 1.24 1999/07/22 21:27:32 thorpej Exp $   */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -1478,7 +1478,7 @@
                        if ((ptmp->flags & (PG_BUSY|PG_RELEASED)) != 0) {
                                ptmp->flags |= PG_WANTED;
                                UVM_UNLOCK_AND_WAIT(ptmp,
-                                   &uobj->vmobjlock, 0, "uvn_get",0);
+                                   &uobj->vmobjlock, FALSE, "uvn_get",0);
                                simple_lock(&uobj->vmobjlock);
                                continue;       /* goto top of pps while loop */
                        }



Home | Main Index | Thread Index | Old Index