* [Bug translator/2341] New: optimize locks for read-mostly variables
@ 2006-02-15 17:20 fche at redhat dot com
2006-08-03 17:39 ` [Bug translator/2341] " fche at redhat dot com
2007-03-28 20:09 ` dsmith at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: fche at redhat dot com @ 2006-02-15 17:20 UTC (permalink / raw)
To: systemtap
This is a good task for someone who wants to dip a toe into the translator
optimizer. They focus on the emit_locks/emit_unlocks functions in translate.cxx.
- elide all global variable lock/unlock operations from begin/end probes
- in translate_pass(), compute another varuse_collecting_visitor instance, over
all probes except begin/end probes; put it into a new c_unparser field
- within emit_locks/unlocks, elide a read lock that would be taken for a global,
if it turns out that it is not written to in any normal probe. That is, if that
newly computed semi-global varuse_collecting_visitor instance does *not* note a
global as written-to, then we don't have to lock it here to read it safely.
--
Summary: optimize locks for read-mostly variables
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: fche at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=2341
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug translator/2341] optimize locks for read-mostly variables
2006-02-15 17:20 [Bug translator/2341] New: optimize locks for read-mostly variables fche at redhat dot com
@ 2006-08-03 17:39 ` fche at redhat dot com
2007-03-28 20:09 ` dsmith at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2006-08-03 17:39 UTC (permalink / raw)
To: systemtap
------- Additional Comments From fche at redhat dot com 2006-08-03 17:39 -------
http://sourceware.org/ml/systemtap/2006-q3/msg00217.html
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |guanglei at cn dot ibm dot
| |com
http://sourceware.org/bugzilla/show_bug.cgi?id=2341
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug translator/2341] optimize locks for read-mostly variables
2006-02-15 17:20 [Bug translator/2341] New: optimize locks for read-mostly variables fche at redhat dot com
2006-08-03 17:39 ` [Bug translator/2341] " fche at redhat dot com
@ 2007-03-28 20:09 ` dsmith at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: dsmith at redhat dot com @ 2007-03-28 20:09 UTC (permalink / raw)
To: systemtap
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|systemtap at sources dot |dsmith at redhat dot com
|redhat dot com |
Status|NEW |ASSIGNED
http://sourceware.org/bugzilla/show_bug.cgi?id=2341
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-03-28 20:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-15 17:20 [Bug translator/2341] New: optimize locks for read-mostly variables fche at redhat dot com
2006-08-03 17:39 ` [Bug translator/2341] " fche at redhat dot com
2007-03-28 20:09 ` dsmith at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).