This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


http://sourceware.org/bugzilla/show_bug.cgi?id=15805

--- Comment #4 from David Smith <dsmith at redhat dot com> ---
Here's some additional information. After some more debugging, I've found out
the systemtap.maps/ix_clear.stp testcase ends up making one call to
_stp_pmap_new() with the following parameters: max_entries: 2048, wrap: 0,
node_size 72. This ends up with 67618 calls to  _stp_map_vzalloc().

That's right, over 67000 calls to _stp_map_vzalloc() from 1 call to
_stp_pmap_new().

Looks like if we switch to vmalloc, we need to figure out how to allocate in
bigger chunks.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]