Source-Changes-HG archive

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

[src/trunk]: src/sys/kern revert a debug printf slipped in with subr_vmem.c r...



details:   https://anonhg.NetBSD.org/src/rev/d0270b83c625
branches:  trunk
changeset: 770523:d0270b83c625
user:      yamt <yamt%NetBSD.org@localhost>
date:      Thu Oct 20 03:05:14 2011 +0000

description:
revert a debug printf slipped in with subr_vmem.c rev.1.64.
pointed out by Nicolas Joly.

diffstat:

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

diffs (27 lines):

diff -r 09b94972031b -r d0270b83c625 sys/kern/subr_vmem.c
--- a/sys/kern/subr_vmem.c      Wed Oct 19 23:07:34 2011 +0000
+++ b/sys/kern/subr_vmem.c      Thu Oct 20 03:05:14 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_vmem.c,v 1.64 2011/10/19 11:12:37 yamt Exp $      */
+/*     $NetBSD: subr_vmem.c,v 1.65 2011/10/20 03:05:14 yamt Exp $      */
 
 /*-
  * Copyright (c)2006,2007,2008,2009 YAMAMOTO Takashi,
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_vmem.c,v 1.64 2011/10/19 11:12:37 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_vmem.c,v 1.65 2011/10/20 03:05:14 yamt Exp $");
 
 #if defined(_KERNEL)
 #include "opt_ddb.h"
@@ -1202,8 +1202,6 @@
                        desired = VMEM_HASHSIZE_MIN;
                }
                if (desired > current * 2 || desired * 2 < current) {
-                       printf("vmem %s rehash %zu -> %zu\n",
-                           vm->vm_name, current, desired);
                        vmem_rehash(vm, desired, VM_NOSLEEP);
                }
        }



Home | Main Index | Thread Index | Old Index