Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934643AbbGVQf7 (ORCPT ); Wed, 22 Jul 2015 12:35:59 -0400 Received: from mail-pd0-f175.google.com ([209.85.192.175]:33065 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934498AbbGVQf5 (ORCPT ); Wed, 22 Jul 2015 12:35:57 -0400 Date: Wed, 22 Jul 2015 09:35:53 -0700 From: =?iso-8859-1?Q?J=F6rn?= Engel To: Mike Galbraith Cc: Spencer Baugh , Don Zickus , 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: <20150722163553.GA24041@Sligo.logfs.org> 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.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 977 Lines: 24 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. Fair point. Let's drop this patch then. J?rn -- Money can buy bandwidth, but latency is forever. -- John R. Mashey -- 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/