kernel - remove debugging print_backtrace() when a vkernel is killed
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 28 Jul 2011 23:20:33 +0000 (16:20 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 28 Jul 2011 23:20:33 +0000 (16:20 -0700)
* 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

index 13e0b65..d8b1854 100644 (file)
@@ -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);