Summary: | support larger on-memory buffer | ||
---|---|---|---|
Product: | systemtap | Reporter: | Masami Hiramatsu <mhiramat> |
Component: | translator | Assignee: | Masami Hiramatsu <mhiramat> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Bug Depends on: | 5645 | ||
Bug Blocks: | |||
Attachments: |
remove the size limitation of buffer
relayfs patch: use vmalloc to allocate *page array extend size limitation of buffer to 4095MB |
Description
Masami Hiramatsu
2008-03-31 15:58:17 UTC
Created attachment 2634 [details]
remove the size limitation of buffer
This patch removes current 64MB upper limitation from systemtap.
Created attachment 2648 [details]
relayfs patch: use vmalloc to allocate *page array
with this patch, relayfs uses vmalloc to allocate *page array if the array is
bigger than one page, otherwise, it uses kcalloc.
Created attachment 2719 [details]
extend size limitation of buffer to 4095MB
Since the buffer size is an "unsigned int" variable, we can't specify more than
4095 to -s option.
(In reply to comment #2) > Created an attachment (id=2648) > relayfs patch: use vmalloc to allocate *page array > > with this patch, relayfs uses vmalloc to allocate *page array if the array is > bigger than one page, otherwise, it uses kcalloc. > this feature has been merged to linus tree(2.6.25-git15). Patch Committed. |