Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754332AbYHIOhe (ORCPT ); Sat, 9 Aug 2008 10:37:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752831AbYHIOh0 (ORCPT ); Sat, 9 Aug 2008 10:37:26 -0400 Received: from mail-in-08.arcor-online.net ([151.189.21.48]:59384 "EHLO mail-in-08.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752349AbYHIOhZ (ORCPT ); Sat, 9 Aug 2008 10:37:25 -0400 Date: Sat, 9 Aug 2008 16:42:11 +0200 (CEST) From: Bodo Eggert <7eggert@gmx.de> To: Steven Rostedt cc: Bodo Eggert <7eggert@gmx.de>, Andi Kleen , Mathieu Desnoyers , LKML , Ingo Molnar , Thomas Gleixner , Peter Zijlstra , Andrew Morton , Linus Torvalds , David Miller , Roland McGrath , Ulrich Drepper , Rusty Russell , Jeremy Fitzhardinge , Gregory Haskins , Arnaldo Carvalho de Melo , "Luis Claudio R. Goncalves" , Clark Williams Subject: Re: [PATCH 0/5] ftrace: to kill a daemon In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=us-ascii X-be10.7eggert.dyndns.org-MailScanner-Information: See www.mailscanner.info for information X-be10.7eggert.dyndns.org-MailScanner: Found to be clean X-be10.7eggert.dyndns.org-MailScanner-From: 7eggert@gmx.de Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1319 Lines: 32 On Sat, 9 Aug 2008, Steven Rostedt wrote: > On Sat, 9 Aug 2008, Bodo Eggert wrote: > > Steven Rostedt wrote: > > > On Sat, 9 Aug 2008, Andi Kleen wrote: > > >> Steven Rostedt writes: > > >> > I'm stubborn, I want to get it right _and_ keep it fast. > > >> > > >> For me it would seem better to just not use two part 5 byte nops > > >> instead of adding such hacks. I doubt there are that many of them > > >> anyways. I bet you won't be able to measure any difference between the > > >> different nop types in any macro benchmark. > > > > > > I wish we had a true 5 byte nop. The alternative is a jmp 0, which is > > > measurable. > > > > Did you try short jumps? (0xeb 0x03 0x?? 0x?? 0x??) > > What would those last three bytes be? Anything, since the CPU will ignore them. My hope is that different kinds of jump will behaver differently, but I fear the side effect of the jmp (reread memory in case of self-modifying code) will cause the CPU to slow down anyway. -- Is reading in the bathroom considered Multitasking? -- 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/