This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/15805] New: maps should not be allocated with k*alloc
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 30 Jul 2013 13:54:56 +0000
- Subject: [Bug runtime/15805] New: maps should not be allocated with k*alloc
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15805
Bug ID: 15805
Summary: maps should not be allocated with k*alloc
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
Assignee: systemtap at sourceware dot org
Reporter: fche at redhat dot com
We should (re)turn(?) to using vmalloc to get the potentially
multi-megabyte-sized chunks of memory used for runtime/map objects.
It's too easy for kernel free memory to be fragmented, and kmalloc
to fail, even for moderate sized objects.
The attached OOM was seen in the wild for a 3.9.4-200.fc18.x86_64
kernel, running a script with
global foo
probe ... { foo[pid(),tid()]=$number }
i.e., only about a hundred kilobytes' worth.
--
You are receiving this mail because:
You are the assignee for the bug.