Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263110AbUJ1XrC (ORCPT ); Thu, 28 Oct 2004 19:47:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263106AbUJ1Xpc (ORCPT ); Thu, 28 Oct 2004 19:45:32 -0400 Received: from colin2.muc.de ([193.149.48.15]:14349 "HELO colin2.muc.de") by vger.kernel.org with SMTP id S263141AbUJ1XlU (ORCPT ); Thu, 28 Oct 2004 19:41:20 -0400 Date: 29 Oct 2004 01:41:19 +0200 Date: Fri, 29 Oct 2004 01:41:19 +0200 From: Andi Kleen To: "David S. Miller" Cc: prasanna@in.ibm.com, linux-kernel@vger.kernel.org, torvalds@osdl.org, akpm@osdl.org, suparna@in.ibm.com, dprobes@www-124.southbury.usf.ibm.com Subject: Re: [0/3] PATCH Kprobes for x86_64- 2.6.9-final Message-ID: <20041028234119.GB80511@muc.de> References: <20041028113208.GA11182@in.ibm.com> <20041028113744.GA82042@muc.de> <20041028111554.6879f3ca.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041028111554.6879f3ca.davem@davemloft.net> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 768 Lines: 18 > The kprobe notifier has to run for the case where the kernel > does a userspace access and faults. This is to handle the > case of setting a kprobe on a userspace access instruction. > In such a event, we must unwind the reset the program counter > so that exception table processing is done with the correct > PC not the temporary one kprobes is using to execute the > instruction where the breakpoint currently lives. Ok that makes sense. Thanks for the explanation (the original submitter didn't give one). -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/