From owner-freebsd-current@FreeBSD.ORG Wed May 16 12:37:32 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50C3B1065673; Wed, 16 May 2012 12:37:32 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 97E808FC16; Wed, 16 May 2012 12:37:31 +0000 (UTC) Received: by lbon10 with SMTP id n10so650211lbo.13 for ; Wed, 16 May 2012 05:37:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=r8Mo/GbxecmhzECok7ZyTMRsFsjb+Qh3nPFlWpearnk=; b=FehLmSpQXf8T8tZ/QRrLiM/X+Tv1gc5xzvto7K1X7BuJLhkE4j01QOjhNf1YiQqXg3 8hW3Hx5C0WikjFFvx0Nq/Qb4GZ8tuTLkrejj3MBvOrpr4NqEnHYz+g/Q7Lzd+LeW3FKd IwNeh9snmaH2NeG94GhU/d1vMejC4W4ZnBA+6WgPX4jvtgu88RbDxzSpqiLj4mnPILN6 sbntn4KLAbc2RVGr9hjRVwA3W6YWJ6DTEgZcYXS40iGCLWaU0W3rxATQEpcSnO+MDTOx VLipHikXfKr8XAIsBHbovjUhTSL9joDas7p/HXy3h2tcEBkdXLLFEDVTBendSGZTLSLC SX/g== MIME-Version: 1.0 Received: by 10.152.144.234 with SMTP id sp10mr1140559lab.51.1337171849661; Wed, 16 May 2012 05:37:29 -0700 (PDT) Sender: asmrookie@gmail.com Received: by 10.112.27.65 with HTTP; Wed, 16 May 2012 05:37:29 -0700 (PDT) In-Reply-To: <4FB36F41.9070101@FreeBSD.org> References: <4FB36F41.9070101@FreeBSD.org> Date: Wed, 16 May 2012 13:37:29 +0100 X-Google-Sender-Auth: g9Vl1EDvh0abcXPq2jWQADKtcy0 Message-ID: From: Attilio Rao To: Andriy Gapon Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD-Current Subject: Re: wdog_kern_pat: liberate from SW_WATCHDOG X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2012 12:37:32 -0000 2012/5/16, Andriy Gapon : > > I would like to commit something like the following patch. > I think that in-kernel watchdog patting during crash dump is useful with > hardware watchdogs too. The code seems to work fine here. > In fact, I am not sure why wdog_kern_pat was originally tied to > SW_WATCHDOG. I didn't think I tested this with any hw watchdog. Which one you are using for tests? BTW, can you please skip adding the white lines? Attilio -- Peace can only be achieved by understanding - A. Einstein