Re: [PATCH 0/5] ftrace: to kill a daemon

From: Bodo Eggert
Date: Sat Aug 09 2008 - 07:45:37 EST


Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> On Sat, 9 Aug 2008, Andi Kleen wrote:
>> Steven Rostedt <rostedt@xxxxxxxxxxx> 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??)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/