Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965050AbbGVNwK (ORCPT ); Wed, 22 Jul 2015 09:52:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45178 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964874AbbGVNwI (ORCPT ); Wed, 22 Jul 2015 09:52:08 -0400 Date: Wed, 22 Jul 2015 09:52:04 -0400 From: Don Zickus To: Mike Galbraith Cc: =?iso-8859-1?Q?J=F6rn?= Engel , Spencer Baugh , Andrew Morton , Ulrich Obergfell , Ingo Molnar , Andrew Jones , chai wen , Chris Metcalf , Stephane Eranian , open list , Spencer Baugh , Joern Engel Subject: Re: [PATCH] soft lockup: kill realtime threads before panic Message-ID: <20150722135204.GE178524@redhat.com> References: <1437516477-30554-5-git-send-email-sbaugh@catern.com> <1437539790.3106.42.camel@gmail.com> <20150722051827.GD23662@Sligo.logfs.org> <1437543708.3106.70.camel@gmail.com> <20150722063323.GE23662@Sligo.logfs.org> <1437550528.3106.107.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1437550528.3106.107.camel@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1026 Lines: 23 On Wed, Jul 22, 2015 at 09:35:28AM +0200, Mike Galbraith wrote: > On Tue, 2015-07-21 at 23:33 -0700, J?rn Engel wrote: > > > One could argue that killing the realtime thread is even better than > > panic, as things can restart with a blank slate even faster. But the > > real benefit is that we get better debug data for the failing component. > > If we had a kernel bug, the backtrace would usually be sufficient to > > point fingers. With a bonkers realtime thread, not so much. > > If userspace wants a watchdog, it should train a userspace dog, not turn > the kernel watchdog into a userspace attack dog. I agree. The spirit of the watchdog was detection and panic (if configured that way). I don't think adding policy like this works well in the long run. Cheers, Don -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/