From owner-cvs-src-old@FreeBSD.ORG Wed Apr 6 21:20:28 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 740A61065674 for ; Wed, 6 Apr 2011 21:20:28 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 464878FC1D for ; Wed, 6 Apr 2011 21:20:28 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p36LKSmS009846 for ; Wed, 6 Apr 2011 21:20:28 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p36LKSd6009845 for cvs-src-old@freebsd.org; Wed, 6 Apr 2011 21:20:28 GMT (envelope-from attilio@repoman.freebsd.org) Message-Id: <201104062120.p36LKSd6009845@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to attilio@repoman.freebsd.org using -f From: Attilio Rao Date: Tue, 5 Apr 2011 14:15:58 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ddb db_command.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2011 21:20:28 -0000 attilio 2011-04-05 14:15:58 UTC FreeBSD src repository Modified files: sys/ddb db_command.c Log: SVN rev 220362 on 2011-04-05 14:15:58Z by attilio Extend the DDB command "watchdog" with the ability to specify a timeout value. The timeout is expressed in the form T(N) = (2^N * nanoseconds) and can be easilly extracted from the watchdog interface as a WD_TO_* macro. That new functionality is supposed to fix re-entering the kernel from DDB re-enabling the watchdog again (previously disabled) and also offer the possibility to break for deadlocked DDB commands. Please note that retro-compatibility is retained. Sponsored by: Sandvine Incorporated Approved by: des MFC after: 10 days Revision Changes Path 1.85 +25 -8 src/sys/ddb/db_command.c