public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/10741] New: Merge tandem locks
@ 2009-10-06 20:20 jistone at redhat dot com
  2009-11-20 19:43 ` [Bug translator/10741] " fche at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jistone at redhat dot com @ 2009-10-06 20:20 UTC (permalink / raw)
  To: systemtap

Since we treat probes atomically, and all locks are grabbed at once, we should
be able to merge locks that are used in identical probe sets.  For example,

  global A, B
  probe syscall.* { println(++A * (B += 2)) }

Each probe here will always grab locks for both A and B, so we might as well
have a single AB lock.  They need not have identical R/W characteristics to be
joined -- just use W in each case if any of the single locks would have been W.

-- 
           Summary: Merge tandem locks
           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=10741

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-23 15:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-10741-6586@http.sourceware.org/bugzilla/>
2020-07-23 15:40 ` [Bug translator/10741] Merge tandem locks fche at redhat dot com
2009-10-06 20:20 [Bug translator/10741] New: " jistone at redhat dot com
2009-11-20 19:43 ` [Bug translator/10741] " fche at redhat dot com
2009-11-20 21:25 ` jistone at redhat dot com
2009-11-20 21:28 ` fche 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).