Messages in this thread | | | Date | Wed, 07 Aug 2013 13:36:06 -0400 | From | Steven Rostedt <> | Subject | [RFC][PATCH 0/2] x86/jump labels: Add the 5 byte or 2 byte jumps |
| |
As I said, I would post the patches that let the jmps used by jump labels be turn to 2 bytes where possible. These are a bit controversial due to the complexity of the update_jump_label code.
These patches are based off of tip's x86/jumplabel code.
But if someone cares to play with it, feel free. I'll push this up to my repo under: tip/perf/jump-label-7 (internally this is my 7th version).
I'll post a patch that does the counting as well as a reply to this post.
Enjoy,
-- Steve
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git tip/perf/jump-label-7
Head SHA1: 2a7235814df0cccda60a366fb8b1e5502055ea4d
Steven Rostedt (2): jump labels: Add infrastructure to update jump labels at compile time x86/jump labels: Use etiher 5 byte or 2 byte jumps
---- Makefile | 7 + arch/Kconfig | 6 + arch/x86/Kconfig | 1 + arch/x86/include/asm/jump_label.h | 7 +- arch/x86/kernel/jump_label.c | 88 +++++++--- scripts/Makefile | 1 + scripts/Makefile.build | 15 +- scripts/update_jump_label.c | 341 +++++++++++++++++++++++++++++++++++++ scripts/update_jump_label.h | 208 ++++++++++++++++++++++ 9 files changed, 649 insertions(+), 25 deletions(-)
| |