Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm uvm(9): Don't duplicate vm_map_min/max in `show map'...



details:   https://anonhg.NetBSD.org/src/rev/516764d74de4
branches:  trunk
changeset: 366655:516764d74de4
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Jun 05 01:45:45 2022 +0000

description:
uvm(9): Don't duplicate vm_map_min/max in `show map' output.

Didn't notice these were already there, oops!

diffstat:

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

diffs (27 lines):

diff -r b90bfa5a3cb8 -r 516764d74de4 sys/uvm/uvm_map.c
--- a/sys/uvm/uvm_map.c Sat Jun 04 23:26:05 2022 +0000
+++ b/sys/uvm/uvm_map.c Sun Jun 05 01:45:45 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_map.c,v 1.398 2022/06/04 23:26:05 riastradh Exp $  */
+/*     $NetBSD: uvm_map.c,v 1.399 2022/06/05 01:45:45 riastradh Exp $  */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.398 2022/06/04 23:26:05 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.399 2022/06/05 01:45:45 riastradh Exp $");
 
 #include "opt_ddb.h"
 #include "opt_pax.h"
@@ -5126,8 +5126,6 @@
            pmap_resident_count(map->pmap), pmap_wired_count(map->pmap));
        if (!full)
                return;
-       (*pr)("\tmin=%"PRIxVADDR", max=%"PRIxVADDR"\n",
-           vm_map_min(map), vm_map_max(map));
        for (entry = map->header.next; entry != &map->header;
            entry = entry->next) {
                (*pr)(" - %p: %#lx->%#lx: obj=%p/%#llx, amap=%p/%d\n",



Home | Main Index | Thread Index | Old Index