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 translator/10796] New: thread-specific globals


Similar to PR10795, it would also be nice to have native per-thread globals. 
It's a common pattern to have maps indexed only by tid(), so it would be nice if
that were automatic and lockless.

Per-thread is not as easy as per-cpu though -- we'll probably need to have a
fixed pool of thread storage areas, allocating when a probe hits a thread,
deallocating when a thread dies (perhaps even on exec).  Those lookups might
need some locking, but hopefully that could be more fine-grained than wrapping
the entire probe.

-- 
           Summary: thread-specific 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=10796

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


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