Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758062AbZCBT22 (ORCPT ); Mon, 2 Mar 2009 14:28:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753715AbZCBT2T (ORCPT ); Mon, 2 Mar 2009 14:28:19 -0500 Received: from terminus.zytor.com ([198.137.202.10]:38797 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753312AbZCBT2T (ORCPT ); Mon, 2 Mar 2009 14:28:19 -0500 Message-ID: <49AC3221.4030506@zytor.com> Date: Mon, 02 Mar 2009 11:23:13 -0800 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Masami Hiramatsu CC: Arjan van de Ven , Mathieu Desnoyers , Ingo Molnar , Andrew Morton , Nick Piggin , Steven Rostedt , Andi Kleen , linux-kernel@vger.kernel.org, Thomas Gleixner , Peter Zijlstra , Frederic Weisbecker , Linus Torvalds , Rusty Russell , Steven Rostedt Subject: Re: [RFC][PATCH] x86: make text_poke() atomic References: <20090223173108.GB1441@Krystal> <49A82851.5080707@redhat.com> <20090227180724.GA17947@Krystal> <49A83237.40604@redhat.com> <20090227185316.GA19811@Krystal> <49A853CD.3020607@redhat.com> <49AC10E9.1090102@redhat.com> <20090302102841.7e099670@infradead.org> <20090302183617.GA25105@Krystal> <20090302105500.569e1270@infradead.org> <49AC2FDF.9070700@redhat.com> In-Reply-To: <49AC2FDF.9070700@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 743 Lines: 22 Masami Hiramatsu wrote: >>> >>> Stop machine is not required when inserting a breakpoint. >> >> that is your assumption; when I spoke with CPU architects they >> cringed ;( > > Is that true even if modifying just one-byte (like int3 insertion) > and we don't care synchronous write(that means code modification > effects on other processors after a while)? > The problem is that he's using is as part of a sequenced series of steps. The lack of synchronization comes into play there. -hpa -- 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/