Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751186AbdIRWfj (ORCPT ); Mon, 18 Sep 2017 18:35:39 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:58201 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750789AbdIRWfi (ORCPT ); Mon, 18 Sep 2017 18:35:38 -0400 Subject: Re: Kernel Panic sysrq questions To: Sriram V , linux-kernel@vger.kernel.org, Tejun Heo References: From: Randy Dunlap Message-ID: Date: Mon, 18 Sep 2017 15:35:36 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 834 Lines: 30 On 08/18/17 08:40, Sriram V wrote: > Hi, > > 1. I am testing my watchdog driver. The driver uses the internal > watchdog (Internal to SOC). > 2. I use a single core SOC. > 3. I have a workqueue which pets the watchdog every 60 seconds. > 4. I trigger a kernel crash by doing a echo c > /proc/sysrq-trigger to > trigger a kernel crash > 5. Even after the crash, I observe that the workqueue gets > periodically executed. (I have a printk > inside the workqueue before the pet as a result the watchdog does > not reset the board. > > My Understanding is When a fatal panic happens, The Kernel is in > frozen state (no workques > or tasks get executed). > > Is my understanding correct or am i missing something here. Hi, What kernel version? I don't see anything in the wq docs about that specific point. Tejun? -- ~Randy