Re: [PATCH 3/5] jump label: x86 support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Steven Rostedt
Date: Monday, March 22, 2010 - 9:40 am

On Mon, 2010-03-22 at 12:07 -0400, Jason Baron wrote:



Are you sure P6_NOP5 can't happen on non 64bit? Just because it is not
configured does not mean that the CPU can not handle it. Look at the
code I did in arch/x86/kernel/ftrace.c to determine what nop to use.
Maybe we can make that generic and have at boot up, the kernel determine
a proper 5byte nop.


Same here, and this should also just use the JUMP_LABEL_NOP insead of
spelling it out as it does here. memcpy should work.

-- Steve




--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/5] jump label v5, Jason Baron, (Mon Mar 22, 9:07 am)
[PATCH 2/5] jump label: base patch, Jason Baron, (Mon Mar 22, 9:07 am)
[PATCH 3/5] jump label: x86 support, Jason Baron, (Mon Mar 22, 9:07 am)
[PATCH 4/5] jump label: tracepoint support, Jason Baron, (Mon Mar 22, 9:07 am)
[PATCH 5/5] jump label: add module support, Jason Baron, (Mon Mar 22, 9:07 am)
Re: [PATCH 3/5] jump label: x86 support, Steven Rostedt, (Mon Mar 22, 9:40 am)
Re: [PATCH 4/5] jump label: tracepoint support, Steven Rostedt, (Mon Mar 22, 9:43 am)
Re: [PATCH 2/5] jump label: base patch, Steven Rostedt, (Mon Mar 22, 1:04 pm)
Re: [PATCH 3/5] jump label: x86 support, Jason Baron, (Mon Mar 22, 1:40 pm)
Re: [PATCH 4/5] jump label: tracepoint support, Jason Baron, (Mon Mar 22, 1:44 pm)
Re: [PATCH 2/5] jump label: base patch, Avi Kivity, (Mon Mar 22, 2:01 pm)
Re: [PATCH 2/5] jump label: base patch, Masami Hiramatsu, (Fri Mar 26, 2:30 pm)