This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug kprobes/10869] New: kretprobes waste a lot of memory on kretprobe_instances
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 29 Oct 2009 16:57:49 -0000
- Subject: [Bug kprobes/10869] New: kretprobes waste a lot of memory on kretprobe_instances
- Reply-to: sourceware-bugzilla at sourceware dot org
As noted in bug #10839 comment #3, using kmalloc for each individual
kretprobe_instance wastes a lot of kernel memory. In my measurement, each 40
byte kmalloc request actually reserves 136 bytes. Having a large number of
kretprobes with large maxactive values makes this waste add up quickly.
--
Summary: kretprobes waste a lot of memory on kretprobe_instances
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: kprobes
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: jistone at redhat dot com
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.