public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 3/4] x86: add kprobe-booster to X86_64
@ 2007-12-17 22:27 Harvey Harrison
  2007-12-18 11:30 ` Ingo Molnar
  0 siblings, 1 reply; 11+ messages in thread
From: Harvey Harrison @ 2007-12-17 22:27 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Ananth N Mavinakayanahalli, Jim Keniston, Roland McGrath,
	Arjan van de Ven, prasanna, anil.s.keshavamurthy, davem,
	systemtap-ml, LKML, Andrew Morton

Sorry I missed an ifdef in this patch in the following hunk:

@@ -183,6 +185,9 @@ retry:
        }
 
        switch (opcode & 0xf0) {
+#ifdef X86_64
+       case 0x40:
+               goto retry; /* REX prefix is boostable */
        case 0x60:
                if (0x63 < opcode && opcode < 0x67)
                        goto retry; /* prefixes */

Just add the #ifdef to only catch case 0x40.

@@ -183,6 +185,10 @@ retry:
        }
 
        switch (opcode & 0xf0) {
+#ifdef X86_64
+       case 0x40:
+               goto retry; /* REX prefix is boostable */
+#endif
        case 0x60:
                if (0x63 < opcode && opcode < 0x67)
                        goto retry; /* prefixes */

Cheers,

Harvey

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-12-19  9:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-17 22:27 [PATCH 3/4] x86: add kprobe-booster to X86_64 Harvey Harrison
2007-12-18 11:30 ` Ingo Molnar
2007-12-18 11:42   ` Harvey Harrison
2007-12-18 13:51     ` Masami Hiramatsu
2007-12-19  2:30       ` Harvey Harrison
2007-12-19  4:44         ` Masami Hiramatsu
2007-12-19  5:21           ` Harvey Harrison
2007-12-19  5:27       ` [PATCH] x86: __kprobes annotations Harvey Harrison
2007-12-19  5:43         ` Masami Hiramatsu
2007-12-19  9:28         ` Ingo Molnar
2007-12-18 14:00     ` [PATCH 3/4] x86: add kprobe-booster to X86_64 Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).