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

From: Steven Rostedt
Date: Fri Aug 08 2008 - 20:51:37 EST




On Fri, 8 Aug 2008, Jeremy Fitzhardinge wrote:

> Steven Rostedt wrote:
> > I wish we had a true 5 byte nop.
>
> 0x66 0x66 0x66 0x66 0x90
>

But I quote you:

> Unfortunately, aside from P6_NOP5, none of the standard asm/nops.h nops
> are suitable. Something like "0x66, 0x66, 0x66, 0x66, 0x90" would work
> everywhere, but its possible putting more than 3 prefixes on the
> instruction will kick the decoder into a slow path, which may have a
> noticable effect.

I guess the next step is to test if it is slow.

-- Steve

--
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/