This is the mail archive of the systemtap@sources.redhat.com mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: kprobes_stack.patch


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]