This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH] [5/5] Switch Kprobes inline functions to __kprobes for sparc64
- From: "David S. Miller" <davem at davemloft dot net>
- To: prasanna at in dot ibm dot com
- Cc: akpm at osdl dot org, ak at suse dot de, linux-kernel at vger dot kernel dot org, ananth at in dot ibm dot com, anil dot s dot keshavamurthy at intel dot com, systemtap at sources dot redhat dot com
- Date: Sun, 09 Apr 2006 23:10:34 -0700 (PDT)
- Subject: Re: [PATCH] [5/5] Switch Kprobes inline functions to __kprobes for sparc64
- References: <20060410055938.GB23879@in.ibm.com> <20060410060035.GC23879@in.ibm.com> <20060410060128.GD23879@in.ibm.com>
From: Prasanna S Panchamukhi <prasanna@in.ibm.com>
Date: Mon, 10 Apr 2006 11:31:28 +0530
> Andrew Morton pointed out that compiler might not inline the functions
> marked for inline in kprobes. There by allowing the insertion of probes
> on these kprobes routines, which might cause recursion. This patch
> removes all such inline and adds them to kprobes section there by
> disallowing probes on all such routines. Some of the routines can
> even still be inlined, since these routines gets executed after
> the kprobes had done necessay setup for reentrancy.
>
> Signed-off-by: Prasanna S Panchamukhi <prasanna@in.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>