public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/15805] New: maps should not be allocated with k*alloc
@ 2013-07-30 13:55 fche at redhat dot com
  2013-07-30 13:55 ` [Bug runtime/15805] " fche at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: fche at redhat dot com @ 2013-07-30 13:55 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-08-16 16:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-30 13:55 [Bug runtime/15805] New: maps should not be allocated with k*alloc fche at redhat dot com
2013-07-30 13:55 ` [Bug runtime/15805] " fche at redhat dot com
2013-07-30 14:09 ` jkaluza at redhat dot com
2013-08-07 20:29 ` dsmith at redhat dot com
2013-08-13 16:29 ` dsmith at redhat dot com
2013-08-13 20:02 ` dsmith at redhat dot com
2013-08-16 16:01 ` dsmith at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).