Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754134AbYAIOVj (ORCPT ); Wed, 9 Jan 2008 09:21:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751540AbYAIOVc (ORCPT ); Wed, 9 Jan 2008 09:21:32 -0500 Received: from ns2.suse.de ([195.135.220.15]:60345 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750828AbYAIOVc (ORCPT ); Wed, 9 Jan 2008 09:21:32 -0500 From: Andi Kleen To: David Miller Subject: Re: [PATCH] Revert "x86: optimize page faults like all other achitectures and kill notifier cruft" Date: Wed, 9 Jan 2008 15:23:34 +0100 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: hch@lst.de, airlied@linux.ie, akpm@linux-foundation.org, torvalds@linux-foundation.org, pq@iki.fi, jbeulich@novell.com, mingo@elte.hu, linux-kernel@vger.kernel.org References: <20080109071727.GA10695@lst.de> <20080108.232223.211829980.davem@davemloft.net> In-Reply-To: <20080108.232223.211829980.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801091523.35845.ak@suse.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 462 Lines: 14 > You can set a kprobe on the x86 fault handler to do things like > mmiotrace. That would mean that if the kprobe faults it goes into an endless loop. Most of do_page_fault() is not really safe for kprobes. -Andi -- 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/