public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/6625] Accessing global:long through atomic_* if possible
       [not found] <bug-6625-6586@http.sourceware.org/bugzilla/>
@ 2019-05-29 14:30 ` fche at redhat dot com
  0 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2019-05-29 14:30 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=6625

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |fche at redhat dot com
         Resolution|---                         |WONTFIX

--- Comment #4 from Frank Ch. Eigler <fche at redhat dot com> ---
Not that compelling an optimization.

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

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

* [Bug translator/6625] Accessing global:long through atomic_* if possible
  2008-06-11 18:00 [Bug translator/6625] New: " mhiramat at redhat dot com
  2008-06-11 18:49 ` [Bug translator/6625] " fche at redhat dot com
  2008-06-11 18:56 ` jkenisto at us dot ibm dot com
@ 2008-06-11 19:11 ` mhiramat at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mhiramat at redhat dot com @ 2008-06-11 19:11 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mhiramat at redhat dot com  2008-06-11 16:47 -------
Hmm, I think it is just for setting flags, we could reduce some overhead.
For example, a global is used by = and == operator, and '=' sets a value
less than 32 bits.


-- 


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

------- 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 translator/6625] Accessing global:long through atomic_* if possible
  2008-06-11 18:00 [Bug translator/6625] New: " mhiramat at redhat dot com
  2008-06-11 18:49 ` [Bug translator/6625] " fche at redhat dot com
@ 2008-06-11 18:56 ` jkenisto at us dot ibm dot com
  2008-06-11 19:11 ` mhiramat at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: jkenisto at us dot ibm dot com @ 2008-06-11 18:56 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From jkenisto at us dot ibm dot com  2008-06-11 16:29 -------
Keep in mind that SystemTap integers are 64 bits, and atomic_t values are 32
bits on most/all architectures.

-- 


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

------- 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 translator/6625] Accessing global:long through atomic_* if possible
  2008-06-11 18:00 [Bug translator/6625] New: " mhiramat at redhat dot com
@ 2008-06-11 18:49 ` fche at redhat dot com
  2008-06-11 18:56 ` jkenisto at us dot ibm dot com
  2008-06-11 19:11 ` mhiramat at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2008-06-11 18:49 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-06-11 16:22 -------
That wouldn't work if there are other probe handler users of the same global
that are not reducible to a single atomic_* function call.  This one may be
too hard to do right with benefits too small.  (We have global statistics
scalars already).


-- 


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

------- 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:[~2019-05-29 14:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-6625-6586@http.sourceware.org/bugzilla/>
2019-05-29 14:30 ` [Bug translator/6625] Accessing global:long through atomic_* if possible fche at redhat dot com
2008-06-11 18:00 [Bug translator/6625] New: " mhiramat at redhat dot com
2008-06-11 18:49 ` [Bug translator/6625] " fche at redhat dot com
2008-06-11 18:56 ` jkenisto at us dot ibm dot com
2008-06-11 19:11 ` mhiramat 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).