Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932478AbbGVHfe (ORCPT ); Wed, 22 Jul 2015 03:35:34 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:38753 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756257AbbGVHfb (ORCPT ); Wed, 22 Jul 2015 03:35:31 -0400 Message-ID: <1437550528.3106.107.camel@gmail.com> Subject: Re: [PATCH] soft lockup: kill realtime threads before panic From: Mike Galbraith To: =?ISO-8859-1?Q?J=F6rn?= Engel 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 Date: Wed, 22 Jul 2015 09:35:28 +0200 In-Reply-To: <20150722063323.GE23662@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> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 784 Lines: 18 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. -Mike -- 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/