This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug kprobes/10869] kretprobes waste a lot of memory on kretprobe_instances
- From: "ananth at in dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 30 Oct 2009 07:29:22 -0000
- Subject: [Bug kprobes/10869] kretprobes waste a lot of memory on kretprobe_instances
- References: <20091029165749.10869.jistone@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From ananth at in dot ibm dot com 2009-10-30 07:29 -------
Created an attachment (id=4344)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4344&action=view)
Be smarter in allocating kretprobe instances
All along, kretprobes would allocate NR_CPU kretprobe_instance structures. Use
a more logical num_possible_cpus() instead.
If this patch is acceptable, I'll post it upstream.
Jim, Masami?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10869
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.