Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/uvm Pull up following revision(s) (requested by rin i...



details:   https://anonhg.NetBSD.org/src/rev/0cf19da507cf
branches:  netbsd-9
changeset: 745292:0cf19da507cf
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Feb 27 18:24:44 2020 +0000

description:
Pull up following revision(s) (requested by rin in ticket #732):

        sys/uvm/uvm_pglist.c: revision 1.80

Make this compile again with PGALLOC_VERBOSE.

diffstat:

 sys/uvm/uvm_pglist.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r 8851d30325f3 -r 0cf19da507cf sys/uvm/uvm_pglist.c
--- a/sys/uvm/uvm_pglist.c      Thu Feb 27 18:23:10 2020 +0000
+++ b/sys/uvm/uvm_pglist.c      Thu Feb 27 18:24:44 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_pglist.c,v 1.72 2018/11/13 10:31:01 mrg Exp $      */
+/*     $NetBSD: uvm_pglist.c,v 1.72.4.1 2020/02/27 18:24:44 martin Exp $       */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_pglist.c,v 1.72 2018/11/13 10:31:01 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_pglist.c,v 1.72.4.1 2020/02/27 18:24:44 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -127,7 +127,7 @@
        paddr_t cidx = 0;       /* XXX: GCC */
 #endif
 #ifdef PGALLOC_VERBOSE
-       printf("pgalloc: contig %d pgs from psi %zd\n", num, ps - vm_physmem);
+       printf("pgalloc: contig %d pgs from psi %d\n", num, psi);
 #endif
 
        KASSERT(mutex_owned(&uvm_fpageqlock));
@@ -208,8 +208,8 @@
                 * Found a suitable starting page.  See if the range is free.
                 */
 #ifdef PGALLOC_VERBOSE
-               printf("%s: ps=%p candidate=%#x end=%#x skip=%#x, align=%#"PRIxPADDR,
-                   __func__, ps, candidateidx, end, skip, alignment);
+               printf("%s: psi=%d candidate=%#x end=%#x skip=%#x, align=%#"PRIxPADDR,
+                   __func__, psi, candidateidx, end, skip, alignment);
 #endif
                /*
                 * We start at the end and work backwards since if we find a



Home | Main Index | Thread Index | Old Index