This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH] kprobe invalidate icache of jump buffer
- From: Jes Sorensen <jes at sgi dot com>
- To: "bibo, mao" <bibo dot mao at intel dot com>
- Cc: SystemTAP <systemtap at sources dot redhat dot com>, "Keshavamurthy, Anil S" <anil dot s dot keshavamurthy at intel dot com>, Jim Keniston <jkenisto at us dot ibm dot com>, Masami Hiramatsu <hiramatu at sdl dot hitachi dot co dot jp>, Prasanna S Panchamukhi <prasanna at in dot ibm dot com>, Ananth N Mavinakayanahalli <ananth at in dot ibm dot com>, linux-ia64 at vger dot kernel dot org, davem at davemloft dot net
- Date: 29 Jun 2006 08:52:27 -0400
- Subject: Re: [PATCH] kprobe invalidate icache of jump buffer
- References: <44A39D6E.1050302@intel.com>
>>>>> "Mao" == bibo, mao <bibo.mao@intel.com> writes:
Mao> Hi, Kprobe inserts breakpoint instruction in probepoint and then
Mao> jump to jmp buffer, the jump buffer icache must be consistent
Mao> with dcache. Here is the patch invalidates jump buffer icache
Mao> area. Without this patch, in some machines there will be fault
Mao> when jumping to jmp buffer where icache content is inconsistent
Mao> with dcache.
Mao> This patch has been tested in my IA32, x86_64 and IA64 box, but
Mao> is not tested in SPARC64 and powerpc architecture. It is based on
Mao> kernel 2.6.17 version. Signed-off-by: bibo,mao
Mao> <bibo.mao@intel.com> Thanks bibo,mao diff -Nruap
Your patch seems to have been mangled by your mail client. Please also
make it comply with Documentation/CodingStyle
Cheers,
Jes