This is the mail archive of the
systemtap@sources.redhat.com
mailing list for the systemtap project.
Re: kprobes_stack.patch
- From: Ananth N Mavinakayanahalli <amavin at redhat dot com>
- To: Jim Keniston <jkenisto at us dot ibm dot com>
- Cc: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Wed, 11 May 2005 14:03:36 -0400
- Subject: Re: kprobes_stack.patch
- References: <1115833531.4511.3.camel@dyn9047018078.beaverton.ibm.com>
Jim Keniston wrote:
Hi Jim,
Per an AR from the 4/20/05 meeting, here is a patch that runs kprobes'
pre_handlers on a separate kprobes_stack. This code is i386-specific
and is based on the CONFIG_4KSTACKS stack-switch code in do_IRQ().
I thought the idea was to see how necessary a separate stack would be in
a situation where we have hundreds of kprobes on a system. But, do we
need this feature right away?
Also, I think we should take this feature in on a per-arch basis. For
example, THREAD_SHIFT on ppc64 is 14 (with a 4k pagesize) that would
give 16k stacks by default. Additionally, ppc64 defconfig has
CONFIG_IRQSTACKS=y.
Ananth