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

From: Linus Torvalds
Date: Fri Aug 08 2008 - 20:52:32 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

I don't think so. Multiple redundant prefixes can be really expensive on
some uarchs.

A no-op that isn't cheap isn't a no-op at all, it's a slow-op.

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