public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/2224] New: comment out unnecessary spinlocks
@ 2006-01-27 16:43 fche at redhat dot com
  2006-02-06 20:17 ` [Bug runtime/2224] " hunt at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: fche at redhat dot com @ 2006-01-27 16:43 UTC (permalink / raw)
  To: systemtap

Most or all other spinlocks taken by the runtime should be unnecessary with
systemtap's generated locking code.  Please make it possible to disable all the
ones not already covered by NEED_STAT_LOCKS, like the ones in pmap/maps.

-- 
           Summary: comment out unnecessary spinlocks
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=2224

------- 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

* [Bug runtime/2224] comment out unnecessary spinlocks
  2006-01-27 16:43 [Bug runtime/2224] New: comment out unnecessary spinlocks fche at redhat dot com
@ 2006-02-06 20:17 ` hunt at redhat dot com
  2006-02-07 16:29 ` fche at redhat dot com
  2007-05-03 16:18 ` hunt at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hunt at redhat dot com @ 2006-02-06 20:17 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From hunt at redhat dot com  2006-02-06 20:17 -------
There are no unnecessary spinlocks on maps.

The only spinlocks are per-cpu spinlocks on pmaps.  Those might be optimized out
as a later date, but are currently required and the translator need not concern
itself with internal details like this.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
            Summary|comment out unnecessary     |comment out unnecessary
                   |spinlocks                   |spinlocks


http://sourceware.org/bugzilla/show_bug.cgi?id=2224

------- 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

* [Bug runtime/2224] comment out unnecessary spinlocks
  2006-01-27 16:43 [Bug runtime/2224] New: comment out unnecessary spinlocks fche at redhat dot com
  2006-02-06 20:17 ` [Bug runtime/2224] " hunt at redhat dot com
@ 2006-02-07 16:29 ` fche at redhat dot com
  2007-05-03 16:18 ` hunt at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2006-02-07 16:29 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2006-02-07 16:29 -------
The pmap spinlocks are unnecessary, because the translator takes
shared/exclusive locks around all pmap operations.  That should make any further
lower level locking an unnecessary overhead.  If it judges shared vs exclusive
incorrectly, that's a separate problem.

If you can justify the locks by more detailed argument, please go ahead.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


http://sourceware.org/bugzilla/show_bug.cgi?id=2224

------- 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

* [Bug runtime/2224] comment out unnecessary spinlocks
  2006-01-27 16:43 [Bug runtime/2224] New: comment out unnecessary spinlocks fche at redhat dot com
  2006-02-06 20:17 ` [Bug runtime/2224] " hunt at redhat dot com
  2006-02-07 16:29 ` fche at redhat dot com
@ 2007-05-03 16:18 ` hunt at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hunt at redhat dot com @ 2007-05-03 16:18 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |hunt at redhat dot com
                   |redhat dot com              |
             Status|REOPENED                    |ASSIGNED


http://sourceware.org/bugzilla/show_bug.cgi?id=2224

------- 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:[~2007-05-03 16:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-27 16:43 [Bug runtime/2224] New: comment out unnecessary spinlocks fche at redhat dot com
2006-02-06 20:17 ` [Bug runtime/2224] " hunt at redhat dot com
2006-02-07 16:29 ` fche at redhat dot com
2007-05-03 16:18 ` hunt 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).