This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10795] New: percpu globals
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 16 Oct 2009 22:22:14 -0000
- Subject: [Bug translator/10795] New: percpu globals
- Reply-to: sourceware-bugzilla at sourceware dot org
It would be nice to have global variables that are explicitly percpu. You can
effectively to this already with a map and a cpu() index, but we could make it
completely lockless if it is a native feature.
I'm imagining this as an extension to the "global" keyword -- either as some
sort of attribute, or perhaps a new "cpu_global" keyword. The implementation
could be simply a percpu_globals struct, or maybe even stuffed into our percpu
context struct.
We may also want {begin,end,error}.percpu probes for initializing / reporting
such globals.
--
Summary: percpu globals
Product: systemtap
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: jistone at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10795
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.