[Bug runtime/15805] New: maps should not be allocated with k*alloc

fche at redhat dot com sourceware-bugzilla@sourceware.org
Tue Jul 30 13:55:00 GMT 2013


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.



More information about the Systemtap mailing list