Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752258AbZIYLLo (ORCPT ); Fri, 25 Sep 2009 07:11:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751730AbZIYLLo (ORCPT ); Fri, 25 Sep 2009 07:11:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42346 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751158AbZIYLLn (ORCPT ); Fri, 25 Sep 2009 07:11:43 -0400 Message-ID: <4ABCA5A4.5000605@redhat.com> Date: Fri, 25 Sep 2009 04:12:36 -0700 From: Masami Hiramatsu User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: Richard J Moore CC: Alan Cox , Andi Kleen , Anton Massoud , Arjan van de Ven , Dominique Toupin , "H. Peter Anvin" , Jason Baron , Jim Keniston , linux-kernel@vger.kernel.org, Mathieu Desnoyers , Ingo Molnar , Nathan Sidwell , Prasanna S Panchamukhi , Steven Rostedt , Rusty Lynch , Suparna Bhattacharya , Thomas Gleixner , Vamsi Krishna S Subject: Re: Immediate values References: <20090924191642.GA19225@elte.hu> <20090924193422.GB2533@elte.hu> <20090925085119.2b77ea04@infradead.org> <20090925073512.GA10346@Krystal> <20090925110206.50ab8a20@lxorguk.ukuu.org.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1574 Lines: 49 Richard J Moore wrote: > > > Alan Cox wrote on 25/09/2009 11:02:06: > > >> >> There was considerable discussion abut this when the kprobe stuff went >> in. If I remember rightly it was stated by someone @intel.com then that >> int3 was ok (even though its not strictly documented as such). The same >> is not true for all instructions on all x86 processors unfortunately. >> >> Alan > > Alan, I had that discussion with Intel, and yes int3 is a special case > because of the interrupt processing associated with it. The discussion > went along this lines: int3 is practically useless in an MP environment > if it's trouble by the cross-modifying erratum. > > I suppose it is possible the more recent microarchitectures have > changed things. And yes, we might need to have that conversation again. Hi, I'm also very interested in this topic, since I'd like to replace kprobe's int3 with jump instruction by using bypass code, which Mathieu's new imv using. http://lkml.org/lkml/2009/9/14/549 Actually, it is OK even if I need to use stop_machine(), because the main goal is reducing overhead of probing, not reducing the replacing time. :) Thank you, -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America), Inc. Software Solutions Division e-mail: mhiramat@redhat.com -- 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/