Source-Changes-HG archive

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

[src/trunk]: src/external/cddl/osnet/sys/kern Another rename from uvm_free() ...



details:   https://anonhg.NetBSD.org/src/rev/28c4971a8149
branches:  trunk
changeset: 968010:28c4971a8149
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue Dec 31 14:51:29 2019 +0000

description:
Another rename from uvm_free() --> uvm_availmem()

diffstat:

 external/cddl/osnet/sys/kern/misc.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8c2f09b70f41 -r 28c4971a8149 external/cddl/osnet/sys/kern/misc.c
--- a/external/cddl/osnet/sys/kern/misc.c       Tue Dec 31 14:27:50 2019 +0000
+++ b/external/cddl/osnet/sys/kern/misc.c       Tue Dec 31 14:51:29 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: misc.c,v 1.6 2019/12/21 13:00:20 ad Exp $      */
+/*     $NetBSD: misc.c,v 1.7 2019/12/31 14:51:29 pgoyette Exp $        */
 
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -130,7 +130,7 @@
        int bufcnt;
        struct pool *pp;
        
-       bufcnt = uvmexp.freetarg - uvm_free();
+       bufcnt = uvmexp.freetarg - uvm_availmem();
        if (bufcnt < 0)
                bufcnt = 0;
 



Home | Main Index | Thread Index | Old Index