Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263280AbTESXJr (ORCPT ); Mon, 19 May 2003 19:09:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263276AbTESXJq (ORCPT ); Mon, 19 May 2003 19:09:46 -0400 Received: from pc2-cwma1-4-cust86.swan.cable.ntl.com ([213.105.254.86]:47799 "EHLO lxorguk.ukuu.org.uk") by vger.kernel.org with ESMTP id S263275AbTESXJo (ORCPT ); Mon, 19 May 2003 19:09:44 -0400 Subject: Re: [PATCH] Exception trace for i386 From: Alan Cox To: Linus Torvalds Cc: Linux Kernel Mailing List In-Reply-To: <1053377808.588720@palladium.transmeta.com> References: <20030519192814.GA975@averell> <1053377808.588720@palladium.transmeta.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1053383062.29226.32.camel@dhcp22.swansea.linux.org.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 19 May 2003 23:24:23 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1014 Lines: 22 On Llu, 2003-05-19 at 21:56, Linus Torvalds wrote: > >proved to be very useful to trace otherwise hidden faults, e.g. > >on a normal kernel there is no way to see a segfault in a process > >that runs in a write protected directory, even when core dumps > >are enabled. Also it's useful as an early warning that something > >is wrong with your system. You can change the segfault path for core dumps via /proc > I don't think it's ever really valid to expose it as a global option, as > some programs use page faults (even the signalling kind) to do their own > memory management, and making it a global option just makes it hard to > work with such programs. The classic being the texas objectstore which I suspect would not be happy if printk logged each fault 8) - 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/