Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161027AbXBVLmr (ORCPT ); Thu, 22 Feb 2007 06:42:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161042AbXBVLmr (ORCPT ); Thu, 22 Feb 2007 06:42:47 -0500 Received: from e32.co.us.ibm.com ([32.97.110.150]:36232 "EHLO e32.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161027AbXBVLmq (ORCPT ); Thu, 22 Feb 2007 06:42:46 -0500 Date: Thu, 22 Feb 2007 17:13:26 +0530 From: "S. P. Prasanna" To: Alan Stern Cc: Roland McGrath , Kernel development list Subject: Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers Message-ID: <20070222114326.GA14910@in.ibm.com> Reply-To: prasanna@in.ibm.com References: <20070209233150.B9542180055@magilla.sf.frob.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1129 Lines: 29 On Wed, Feb 21, 2007 at 03:35:13PM -0500, Alan Stern wrote: > Going back to something you mentioned earlier... > [...] > On Fri, 9 Feb 2007, Roland McGrath wrote: > There are two things I am uncertain about: vm86 mode and kprobes. I don't > know anything about how either of them works. Judging from the current > code, nothing much should be needed -- debug traps in vm86 mode are > handled by calling handle_vm86_trap(), and kprobes puts itself at the > start of the notify_die() chain so it can handle single-step traps. > Eventually it will be necessary to check with someone who really > understands the issues. Yes, Kprobes needs to get notified first to handle single-step traps. So kwatch getting notified secound should be fine. Thanks Prasanna -- Prasanna S.P. Linux Technology Center India Software Labs, IBM Bangalore Email: prasanna@in.ibm.com Ph: 91-80-41776329 - 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/