public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug tapsets/19875] New: membarrier missing from syscall tapset
@ 2016-03-28 14:44 dsmith at redhat dot com
  2016-03-29 16:30 ` [Bug tapsets/19875] " dsmith at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: dsmith at redhat dot com @ 2016-03-28 14:44 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 19875
           Summary: membarrier missing from syscall tapset
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com
  Target Milestone: ---

The membarrier syscall was added in kernel 4.3 by the following kernel commit:

====
commit 5b25b13ab08f616efd566347d809b4ece54570d1                                 
Author: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>                      
Date:   Fri Sep 11 13:07:39 2015 -0700                                          

    sys_membarrier(): system-wide memory barrier (generic, x86)                 

    Here is an implementation of a new system call, sys_membarrier(), which     
    executes a memory barrier on all threads running on the system.  It is      
    implemented by calling synchronize_sched().  It can be used to              
    distribute the cost of user-space memory barriers asymmetrically by         
    transforming pairs of memory barriers into pairs consisting of              
    sys_membarrier() and a compiler barrier.  For synchronization primitives    
    that distinguish between read-side and write-side (e.g.  userspace RCU      
    [1], rwlocks), the read-side can be accelerated significantly by moving     
    the bulk of the memory barrier overhead to the write-side.                  
====

Support for membarrier() should be added to the syscall tapset.

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

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

* [Bug tapsets/19875] membarrier missing from syscall tapset
  2016-03-28 14:44 [Bug tapsets/19875] New: membarrier missing from syscall tapset dsmith at redhat dot com
@ 2016-03-29 16:30 ` dsmith at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: dsmith at redhat dot com @ 2016-03-29 16:30 UTC (permalink / raw)
  To: systemtap

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

David Smith <dsmith at redhat dot com> changed:

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

--- Comment #1 from David Smith <dsmith at redhat dot com> ---
Support added in commit 025980d.

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

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

end of thread, other threads:[~2016-03-29 16:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-28 14:44 [Bug tapsets/19875] New: membarrier missing from syscall tapset dsmith at redhat dot com
2016-03-29 16:30 ` [Bug tapsets/19875] " 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).