From 5fb4f156a8c394bdd558af7d5ffc80df76a43200 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Thu, 28 Jul 2011 16:20:33 -0700 Subject: [PATCH] kernel - remove debugging print_backtrace() when a vkernel is killed * In certain cases a debugging print_backtrace() occurs when a vkernel is killed while one or more of its cpu threads is active. This can crash 64-bit systems. * Remove the call for now. --- sys/vm/vm_vmspace.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/sys/vm/vm_vmspace.c b/sys/vm/vm_vmspace.c index 13e0b65..d8b1854 100644 --- a/sys/vm/vm_vmspace.c +++ b/sys/vm/vm_vmspace.c @@ -678,7 +678,6 @@ vkernel_lwp_exit(struct lwp *lp) if ((ve = vklp->ve) != NULL) { kprintf("Warning, pid %d killed with " "active VC!\n", lp->lwp_proc->p_pid); - print_backtrace(-1); pmap_setlwpvm(lp, lp->lwp_proc->p_vmspace); vklp->ve = NULL; KKASSERT(ve->refs > 0); -- 1.7.7.2