]> sourceware.org Git - systemtap.git/commit
linux runtime: switch to vmalloc for context[] element allocation
authorFrank Ch. Eigler <fche@redhat.com>
Wed, 21 May 2014 17:43:48 +0000 (13:43 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 21 May 2014 17:43:48 +0000 (13:43 -0400)
commit681120bbf7f233317c9372e3c43abdde7b31e22c
tree3ffdf9dbab9ad42d52dcea2f07a4e25bedb534ee
parent35e9fa9ea7e64f5e4ab56e2fa9341686c06b1c18
linux runtime: switch to vmalloc for context[] element allocation

The new eventcount.stp changes can result in relatively large context
structures (33712 bytes each on f19/x86-64), which the stp_kmalloc
widget can sometimes fail to allocate.  Switching to the numa-aware
vmalloc front-end lets these allocations succeed.

TBD: those contexts shouldn't be that large.
runtime/linux/runtime_context.h
This page took 0.02581 seconds and 5 git commands to generate.