Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm/pmap Remove trailing \n from UVMHIST_LOG() format st...



details:   https://anonhg.NetBSD.org/src/rev/bec2fed1c902
branches:  trunk
changeset: 942774:bec2fed1c902
user:      simonb <simonb%NetBSD.org@localhost>
date:      Wed Aug 19 07:29:00 2020 +0000

description:
Remove trailing \n from UVMHIST_LOG() format strings.

diffstat:

 sys/arch/hppa/hppa/pmap.c   |  6 +++---
 sys/miscfs/genfs/genfs_io.c |  8 ++++----
 sys/uvm/pmap/pmap.c         |  8 ++++----
 sys/uvm/uvm_aobj.c          |  6 +++---
 4 files changed, 14 insertions(+), 14 deletions(-)

diffs (124 lines):

diff -r cc71a19e00cd -r bec2fed1c902 sys/arch/hppa/hppa/pmap.c
--- a/sys/arch/hppa/hppa/pmap.c Wed Aug 19 06:30:37 2020 +0000
+++ b/sys/arch/hppa/hppa/pmap.c Wed Aug 19 07:29:00 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.113 2020/05/25 21:15:10 ad Exp $    */
+/*     $NetBSD: pmap.c,v 1.114 2020/08/19 07:29:00 simonb Exp $        */
 
 /*-
  * Copyright (c) 2001, 2002, 2020 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.113 2020/05/25 21:15:10 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.114 2020/08/19 07:29:00 simonb Exp $");
 
 #include "opt_cputype.h"
 
@@ -877,7 +877,7 @@
                pmap_hpt = addr;
                addr += pmap_hptsize;
 
-               UVMHIST_LOG(maphist, "hpt_table %#jx @ %#jx\n",
+               UVMHIST_LOG(maphist, "hpt_table %#jx @ %#jx",
                    pmap_hptsize, addr, 0, 0);
 
                if ((error = (cpu_hpt_init)(pmap_hpt, pmap_hptsize)) < 0) {
diff -r cc71a19e00cd -r bec2fed1c902 sys/miscfs/genfs/genfs_io.c
--- a/sys/miscfs/genfs/genfs_io.c       Wed Aug 19 06:30:37 2020 +0000
+++ b/sys/miscfs/genfs/genfs_io.c       Wed Aug 19 07:29:00 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: genfs_io.c,v 1.100 2020/08/14 09:06:14 chs Exp $       */
+/*     $NetBSD: genfs_io.c,v 1.101 2020/08/19 07:29:00 simonb Exp $    */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.100 2020/08/14 09:06:14 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.101 2020/08/19 07:29:00 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -689,7 +689,7 @@
                lbn = offset >> fs_bshift;
                error = VOP_BMAP(vp, lbn, &devvp, &blkno, &run);
                if (error) {
-                       UVMHIST_LOG(ubchist, "VOP_BMAP lbn 0x%jx -> %jd\n",
+                       UVMHIST_LOG(ubchist, "VOP_BMAP lbn 0x%jx -> %jd",
                            lbn,error,0,0);
                        skipbytes += bytes;
                        bytes = 0;
@@ -1516,7 +1516,7 @@
                lbn = offset >> fs_bshift;
                error = VOP_BMAP(vp, lbn, &devvp, &blkno, &run);
                if (error) {
-                       UVMHIST_LOG(ubchist, "VOP_BMAP lbn 0x%jx -> %jd\n",
+                       UVMHIST_LOG(ubchist, "VOP_BMAP lbn 0x%jx -> %jd",
                            lbn, error, 0, 0);
                        skipbytes += bytes;
                        bytes = 0;
diff -r cc71a19e00cd -r bec2fed1c902 sys/uvm/pmap/pmap.c
--- a/sys/uvm/pmap/pmap.c       Wed Aug 19 06:30:37 2020 +0000
+++ b/sys/uvm/pmap/pmap.c       Wed Aug 19 07:29:00 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.53 2020/08/11 06:09:44 skrll Exp $  */
+/*     $NetBSD: pmap.c,v 1.54 2020/08/19 07:29:01 simonb Exp $ */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.53 2020/08/11 06:09:44 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.54 2020/08/19 07:29:01 simonb Exp $");
 
 /*
  *     Manages physical address maps.
@@ -405,13 +405,13 @@
        VM_PAGEMD_PVLIST_READLOCK(mdpg);
        pmap_pvlist_check(mdpg);
 
-       UVMHIST_LOG(pmaphist, "pv %jx pv_pmap %jx\n", (uintptr_t)pv,
+       UVMHIST_LOG(pmaphist, "pv %jx pv_pmap %jx", (uintptr_t)pv,
             (uintptr_t)pv->pv_pmap, 0, 0);
 
        if (pv->pv_pmap != NULL) {
                for (; pv != NULL; pv = pv->pv_next) {
 #ifdef MULTIPROCESSOR
-                       UVMHIST_LOG(pmaphist, "pv %jx pv_pmap %jx\n",
+                       UVMHIST_LOG(pmaphist, "pv %jx pv_pmap %jx",
                            (uintptr_t)pv, (uintptr_t)pv->pv_pmap, 0, 0);
                        kcpuset_merge(onproc, pv->pv_pmap->pm_onproc);
                        if (kcpuset_match(onproc, kcpuset_running)) {
diff -r cc71a19e00cd -r bec2fed1c902 sys/uvm/uvm_aobj.c
--- a/sys/uvm/uvm_aobj.c        Wed Aug 19 06:30:37 2020 +0000
+++ b/sys/uvm/uvm_aobj.c        Wed Aug 19 07:29:00 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_aobj.c,v 1.149 2020/07/09 05:57:15 skrll Exp $     */
+/*     $NetBSD: uvm_aobj.c,v 1.150 2020/08/19 07:29:00 simonb Exp $    */
 
 /*
  * Copyright (c) 1998 Chuck Silvers, Charles D. Cranor and
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_aobj.c,v 1.149 2020/07/09 05:57:15 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_aobj.c,v 1.150 2020/08/19 07:29:00 simonb Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_uvmhist.h"
@@ -957,7 +957,7 @@
                /* out of RAM? */
                if (ptmp == NULL) {
                        rw_exit(uobj->vmobjlock);
-                       UVMHIST_LOG(pdhist, "sleeping, ptmp == NULL\n",0,0,0,0);
+                       UVMHIST_LOG(pdhist, "sleeping, ptmp == NULL",0,0,0,0);
                        uvm_wait("uao_getpage");
                        rw_enter(uobj->vmobjlock, RW_WRITER);
                        uvm_page_array_clear(&a);



Home | Main Index | Thread Index | Old Index