Module Name: src Committed By: mrg Date: Sun Jun 20 07:11:39 UTC 2021
Modified Files: src/sys/uvm: uvm_map.c Log Message: remove diag-only printf() that fires when an unlinked file is mmapped and someone runs ps(1) or similar. To generate a diff of this commit: cvs rdiff -u -r1.388 -r1.389 src/sys/uvm/uvm_map.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/uvm/uvm_map.c diff -u src/sys/uvm/uvm_map.c:1.388 src/sys/uvm/uvm_map.c:1.389 --- src/sys/uvm/uvm_map.c:1.388 Sat Apr 17 21:37:21 2021 +++ src/sys/uvm/uvm_map.c Sun Jun 20 07:11:38 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_map.c,v 1.388 2021/04/17 21:37:21 mrg Exp $ */ +/* $NetBSD: uvm_map.c,v 1.389 2021/06/20 07:11:38 mrg 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.388 2021/04/17 21:37:21 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.389 2021/06/20 07:11:38 mrg Exp $"); #include "opt_ddb.h" #include "opt_pax.h" @@ -5164,11 +5164,6 @@ fill_vmentry(struct lwp *l, struct proc kve->kve_vn_fsid = va.va_fsid; error = vnode_to_path(kve->kve_path, sizeof(kve->kve_path) / 2, vp, l, p); -#ifdef DIAGNOSTIC - if (error) - printf("%s: vp %p error %d\n", __func__, - vp, error); -#endif } } else if (UVM_OBJ_IS_KERN_OBJECT(uobj)) { kve->kve_type = KVME_TYPE_KERN;